zxr10LdpSessionDownReason

ZXR10-MPLS-LDP-MIB · .1.3.6.1.4.1.3902.3.314.1.13.1.12

Object

column Enumeration
The reason why the session transitioned from operational to 
nonexistent state. 
Can be one of the following:
unknown reason, hold time expired, connection time expired, 
all adjacencies down,  received bad tlv, received bad pdu, 
connection error, connection reset, received notification 
from peer, received unexpected end-of-file, clear mpls ldp, 
error during initialization, graceful restart was aborted or 
client command.
If no such changes have occurred since the last re-initialization 
of the local management subsystem, then this object contains a 
zero value.

Context

MIB
ZXR10-MPLS-LDP-MIB
OID
.1.3.6.1.4.1.3902.3.314.1.13.1.12
Type
column
Access
readonly
Status
current
Parent
zxr10LdpSessEntry

Walk 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 'ZXR10-MPLS-LDP-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXR10-MPLS-LDP-MIB::zxr10LdpSessionDownReason'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZXR10-MPLS-LDP-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXR10-MPLS-LDP-MIB::zxr10LdpSessionDownReason.<zxr10LdpSessLocalId>.<zxr10LdpSessPeerId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZXR10-MPLS-LDP-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZXR10-MPLS-LDP-MIB::zxr10LdpSessionDownReason'

Syntax

Enumeration

Values & Constraints

Enumerated Values
0null
1holdExpired
2connectionExpired
3allAdjacenciesDown
4badTLV
5badPDU
6connectionError
7connectionReset
8peerSentNotification
9unexpectedEOF
10clearneighbor
11initError
12gracefulRestartAbort
13cliCommand
14unknown