hwMplsLdpSessionState
HUAWEI-MPLS-LDP-MIB ·
.1.3.6.1.4.1.2011.5.12.2.1.4.1.1.6
Object
column Enumeration
The current state of the session, all of the states 1 - 5 are based on the state machine for session negotiation behavior.
Context
- MIB
- HUAWEI-MPLS-LDP-MIB
- OID
.1.3.6.1.4.1.2011.5.12.2.1.4.1.1.6- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwMplsLdpSessionEntry
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 'HUAWEI-MPLS-LDP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-MPLS-LDP-MIB::hwMplsLdpSessionState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-MPLS-LDP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-MPLS-LDP-MIB::hwMplsLdpSessionState.<hwMplsLdpLsrIncarnID>.<hwMplsLdpEntityIfIndex>.<hwMplsLdpPeerIndex>.<hwMplsLdpSessionIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-MPLS-LDP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-MPLS-LDP-MIB::hwMplsLdpSessionState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | nonexistent |
2 | initialized |
3 | openrec |
4 | opensent |
5 | operational |