mplsFecType
MPLS-LDP-MIB ·
cisco variant
·
.1.3.6.1.3.97.1.3.8.2.1.2
Object
column r/w
Enumeration
The type of the FEC. If the value of this object
is 'prefix(1)' then the FEC type described by this
row is for address prefixes.
If the value of this object is 'hostAddress(2)' then
the FEC type described by this row is a host address.
Context
- MIB
- MPLS-LDP-MIB
- OID
.1.3.6.1.3.97.1.3.8.2.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- mplsFecEntry
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::mplsFecType'
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::mplsFecType.<mplsFecIndex>'
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::mplsFecType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | prefix |
2 | hostAddress |