hh3cNetconfSessionTerminationReason

HH3C-NETCONF-MIB · .1.3.6.1.4.1.25506.2.206.1.1.5

Object

scalar Enumeration
Termination reason of the NETCONF session.
Value other(1) represents other reason.
Value closed(2) indicates that the session was closed.
Value linkDown(3) indicates that the session was abnormal.
Value idleTimeout(4) indicates that the session timed out.

Context

MIB
HH3C-NETCONF-MIB
OID
.1.3.6.1.4.1.25506.2.206.1.1.5
Type
scalar
Access
notifyonly
Status
current
Parent
hh3cNetconfConnObjects

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-NETCONF-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-NETCONF-MIB::hh3cNetconfSessionTerminationReason.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-NETCONF-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-NETCONF-MIB::hh3cNetconfSessionTerminationReason'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1other
2closed
3linkDown
4idleTimeout