On 30/01/07, Achim Stumpf <[EMAIL PROTECTED]> wrote:
> $ snmpwalk 192.168.222.71 -c test -v1 1.3.6.1.4.1.9.9.106.1.2.1.1.11
> SNMPv2-SMI::enterprises.9.9.106.1.2.1.1.11.1.1 = IpAddress: 192.168.222.70
> SNMPv2-SMI::enterprises.9.9.106.1.2.1.1.11.1.2 = IpAddress: 192.168.222.80
As you've already discovered, .1.3.6.1.4.1.9.9.106.1.2.1.1.11
is the OID of CISCO-HSRP-MIB::cHsrpGrpVirtualIpAddr
cHsrpGrpVirtualIpAddr OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This is the primary virtual IP address used by this group.
If this address is configured (i.e a non zero ip address),
this value is used. Otherwise, the agent will attempt to
discover the virtual address through a discovery process
(which scans the hello messages)."
DEFVAL { '00000000'H }
::= { cHsrpGrpEntry 11 }
But take a look at the definition of the parent (cHsrpGrpEntry):
cHsrpGrpEntry OBJECT-TYPE
SYNTAX CHsrpGrpEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Information about an HSRP group. Management applications
use cHsrpGrpRowStatus to control entry modification, creation
and deletion...."
INDEX { ifIndex, cHsrpGrpNumber }
::= { cHsrpGrpTable 1 }
As Jiang suggests, these values are the two indexes into this table.
One indicates the interface that a particular entry refers to,
the other the group on that interface.
See the definition of cHsrpGrpNumber fro more details.
Dave
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users