cHsrpGrpPriority

CISCO-HSRP-MIB · .1.3.6.1.4.1.9.9.106.1.2.1.1.3

Object

column r/w Unsigned32
The cHsrpGrpPriority helps to select the active and the
standby routers. The router with the highest priority is
selected as the active router. In the priority range of 0
to 255, 0 is the lowest priority and 255 is the highest
priority.
              
If two (or more) routers in a group have the same priority,
the one with the highest ip address of the interface is the
active router. When the active router fails to send a Hello
message within a configurable period of time, the standby
router with the highest priority becomes the active
router.
              
A router with highest priority will only attempt to
overthrow a lower priority active router if it is
configured to preempt.  But, if there is more than one
router which is not active, the highest priority non-active
router becomes the standby router.

Context

MIB
CISCO-HSRP-MIB
OID
.1.3.6.1.4.1.9.9.106.1.2.1.1.3
Type
column
Access
readwrite
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::cHsrpGrpPriority'
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::cHsrpGrpPriority.<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::cHsrpGrpPriority'

Syntax

Unsigned32

Values & Constraints

Object Constraints
range: 0-255

Conformance

Member of