cHsrpGrpNumber

CISCO-HSRP-MIB · .1.3.6.1.4.1.9.9.106.1.2.1.1.1

Object

column Unsigned32
This object along with the ifIndex of a particular interface
uniquely identifies an HSRP group.
              
Group numbers 0,1 and 2 are the only valid group numbers
for TokenRing interfaces. For other media types, numbers
range from 0 to 255. Each interface has its own set of group
numbers. There's no relationship between the groups
configured on different interfaces. Using a group number
on one interface doesn't preclude using the same group
number on a different interface. For example, there can be
a group 1 on an Ethernet and a group 1 on Token Ring. More
details can be found from RFC 2281.

Context

MIB
CISCO-HSRP-MIB
OID
.1.3.6.1.4.1.9.9.106.1.2.1.1.1
Type
column
Access
noaccess
Status
current
Parent
cHsrpGrpEntry

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::cHsrpGrpNumber'
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::cHsrpGrpNumber.<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::cHsrpGrpNumber'

Syntax

Unsigned32

Values & Constraints

Object Constraints
range: 0-255