mplsLdpSessionRole
MPLS-LDP-STD-MIB ·
.1.3.6.1.2.1.10.166.4.1.3.3.1.3
Object
column Enumeration
During session establishment the LSR/LER takes either
the active role or the passive role based on address
comparisons. This object indicates whether this LSR/LER
was behaving in an active role or passive role during
this session's establishment.
The value of unknown(1), indicates that the role is not
able to be determined at the present time.
Context
- MIB
- MPLS-LDP-STD-MIB
- OID
.1.3.6.1.2.1.10.166.4.1.3.3.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- mplsLdpSessionEntry
- Groups
- 1
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-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MPLS-LDP-STD-MIB::mplsLdpSessionRole'
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::mplsLdpSessionRole.<index>'
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::mplsLdpSessionRole'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | unknown |
2 | active |
3 | passive |
Conformance
Member of