cHsrpGrpVirtualMacAddr

CISCO-HSRP-MIB · .1.3.6.1.4.1.9.9.106.1.2.1.1.16

Object

Mac Addresses used are as specified in RFC 2281. For
ethernet and fddi interfaces, a MAC address will be in the
range 00:00:0c:07:ac:00 through 00:00:0c:07:ac:ff. The last
octet is the hexadecimal equivalent of cHsrpGrpNumber
(0-255).
              
Some Ethernet and FDDI interfaces allow a unicast MAC
address for each HSRP group. Certain Ethernet
chipsets(LANCE Ethernet, VGANYLAN and QUICC Ethernet) only
support a single Unicast Mac Address. In this case, only
one HSRP group is allowed.
              
For TokenRing interfaces, the following three MAC 
addresses are permitted (functional addresses):
             C0:00:00:01:00:00
             C0:00:00:02:00:00
             C0:00:00:04:00:00.

Context

MIB
CISCO-HSRP-MIB
OID
.1.3.6.1.4.1.9.9.106.1.2.1.1.16
Type
column
Access
readonly
Status
current
Parent
cHsrpGrpEntry
Groups
1

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'CISCO-HSRP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-HSRP-MIB::cHsrpGrpVirtualMacAddr'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-HSRP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-HSRP-MIB::cHsrpGrpVirtualMacAddr.<ifIndex>.<cHsrpGrpNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-HSRP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-HSRP-MIB::cHsrpGrpVirtualMacAddr'

Syntax

Source
SNMPv2-TCMacAddress
Base type
OctetString
Display format
1x:
Type Description
Represents an 802 MAC address represented in the
`canonical' order defined by IEEE 802.1a, i.e., as if it
were transmitted least significant bit first, even though
802.5 (in contrast to other 802.x protocols) requires MAC
addresses to be transmitted most significant bit first.

Values & Constraints

Type Constraints
range: 6

Conformance

Member of