mplsLdpEntityLabelRetentionMode
MPLS-LDP-MIB ·
cisco variant
·
.1.3.6.1.3.97.1.2.2.1.14
Object
column r/w
Enumeration
The LDP Entity can be configured to use either
conservative or liberal label retention mode.
If the value of this object is conservative(1)
then advertized label mappings are retained
only if they will be used to forward packets,
i.e. if label came from a valid next hop.
If the value of this object is liberal(2)
then all advertized label mappings are retained
whether they are from a valid next hop or not.
Context
- MIB
- MPLS-LDP-MIB
- OID
.1.3.6.1.3.97.1.2.2.1.14- 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::mplsLdpEntityLabelRetentionMode'
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::mplsLdpEntityLabelRetentionMode.<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::mplsLdpEntityLabelRetentionMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | conservative |
2 | liberal |