mplsFecAddrPrefixLength

MPLS-LDP-STD-MIB · .1.3.6.1.2.1.10.166.4.1.3.8.3.1.3

Object

If the value of the 'mplsFecType' is 'hostAddress(2)'
then this object is undefined.
              
If the value of 'mplsFecType' is 'prefix(1)'
then the value of this object is the length in
bits of the address prefix represented by
'mplsFecAddr', or zero.  If the value of this
object is zero, this indicates that the
prefix matches all addresses.  In this case the
address prefix MUST also be zero (i.e., 'mplsFecAddr'
should have the value of zero.)

Context

MIB
MPLS-LDP-STD-MIB
OID
.1.3.6.1.2.1.10.166.4.1.3.8.3.1.3
Type
column
Access
readwrite
Status
current
Parent
mplsFecEntry
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 'MPLS-LDP-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPLS-LDP-STD-MIB::mplsFecAddrPrefixLength'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MPLS-LDP-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPLS-LDP-STD-MIB::mplsFecAddrPrefixLength.<mplsFecIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MPLS-LDP-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MPLS-LDP-STD-MIB::mplsFecAddrPrefixLength'

Values & Constraints

Type Constraints
range: 0..2040

Conformance

Member of
Compliance refinements
Write access is not required.