mplsLspRole
LUM-MPLS-MIB ·
.1.3.6.1.4.1.8708.2.40.2.6.1.1.6
Object
column r/w
Enumeration
The entry signifies the role the LSP entry represents.
edge - The LSP is originated and terminated in the node,
which is considered a Label edge router, LER.
transit - The LSP is not originated in the node, which
is considered a Label switch router, LSR.
Context
- MIB
- LUM-MPLS-MIB
- OID
.1.3.6.1.4.1.8708.2.40.2.6.1.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Default
edge- Parent
- mplsLspEntry
- Groups
- 6
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 'LUM-MPLS-MIB' -M '/opt/observium/mibs/infinera:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LUM-MPLS-MIB::mplsLspRole'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LUM-MPLS-MIB' -M '/opt/observium/mibs/infinera:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LUM-MPLS-MIB::mplsLspRole.<mplsLspIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LUM-MPLS-MIB' -M '/opt/observium/mibs/infinera:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LUM-MPLS-MIB::mplsLspRole'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | edge |
2 | transit |