mplsPathType
MPLS-MIB ·
.1.3.6.1.4.1.2636.3.2.3.1.18
Object
column deprecated
Enumeration
The type of path that is active, i.e., a primary path, a standby path, a generic secondary path, or a bypass path. The value other, primary, standby and secondary apply to data LSPs, and are meaningful only if mplsPathName is not empty. The value bypass applies to bypass tunnels. A bypass tunnel may have an empty mplsPathName.
Context
- MIB
- MPLS-MIB
- OID
.1.3.6.1.4.1.2636.3.2.3.1.18- Type
- column
- Access
- readonly
- Status
- deprecated
- Parent
- mplsLspEntry
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-MIB' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPLS-MIB::mplsPathType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MPLS-MIB' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPLS-MIB::mplsPathType.<mplsLspName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MPLS-MIB' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MPLS-MIB::mplsPathType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | primary |
3 | standby |
4 | secondary |
5 | bypass |