cHsrpGrpLearnedHoldTime
CISCO-HSRP-MIB ·
.1.3.6.1.4.1.9.9.106.1.2.1.1.10
Object
column millisecondsSNMPv2-SMIUnsigned32
If the Holdtime is not configured on a router, it can be learned from the Hello message from the active router. Holdtime should be learned only if the Hello message is authenticated. If the Holdtime is not learned and it is not manually configured, a default value of 10 seconds is recommended.
Context
- MIB
- CISCO-HSRP-MIB
- OID
.1.3.6.1.4.1.9.9.106.1.2.1.1.10- Type
- column
- Access
- readonly
- Status
- current
- Units
- milliseconds
- Parent
- cHsrpGrpEntry
- Groups
- 1
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 'CISCO-HSRP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-HSRP-MIB::cHsrpGrpLearnedHoldTime'
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::cHsrpGrpLearnedHoldTime.<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::cHsrpGrpLearnedHoldTime'
Syntax
millisecondsSNMPv2-SMIUnsigned32
- Source
- SNMPv2-SMIUnsigned32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295
Conformance
Member of