mplsLdpEntityHopCountLimit
MPLS-LDP-MIB ·
cisco variant
·
.1.3.6.1.3.97.1.2.2.1.17
Object
column r/w
Integer32
If the value of this object is 0 (zero),
then Loop Detection using Hop Counters is
disabled.
If the value of this object is greater than
0 (zero) then Loop Detection using Hop
Counters is enabled, and this object
specifies this Entity's maximum allowable
value for the Hop Count.
Also, the value of the object
mplsLdpLsrLoopDetectionCapable must be set
to either 'hopCount(3)' or
'hopCountAndPathVector(5)' if this object
has a value greater than 0 (zero).
Context
- MIB
- MPLS-LDP-MIB
- OID
.1.3.6.1.3.97.1.2.2.1.17- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- mplsLdpEntityEntry
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 'MPLS-LDP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPLS-LDP-MIB::mplsLdpEntityHopCountLimit'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MPLS-LDP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPLS-LDP-MIB::mplsLdpEntityHopCountLimit.<mplsLdpEntityLdpId>.<mplsLdpEntityIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MPLS-LDP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MPLS-LDP-MIB::mplsLdpEntityHopCountLimit'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-255