cHsrpGrpPriority
Hirschmann-GIGA-LION-24TP-MIB ·
.1.3.6.1.4.1.248.13.7.5.1.29.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
- Hirschmann-GIGA-LION-24TP-MIB
- OID
.1.3.6.1.4.1.248.13.7.5.1.29.2.1.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- cHsrpGrpEntry
Net-SNMP examples
How SNMP and these commands workWalk 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 'Hirschmann-GIGA-LION-24TP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Hirschmann-GIGA-LION-24TP-MIB::cHsrpGrpPriority'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Hirschmann-GIGA-LION-24TP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Hirschmann-GIGA-LION-24TP-MIB::cHsrpGrpPriority.<ifIndex>.<cHsrpGrpNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Hirschmann-GIGA-LION-24TP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Hirschmann-GIGA-LION-24TP-MIB::cHsrpGrpPriority'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 0-255