hh3cOfpTrapDisconnectReason
HH3C-OFP-MIB ·
.1.3.6.1.4.1.25506.2.167.2.1.1
Object
scalar Integer32
Reason why this instance is disconnected from a controller 0: Unknown reason. 1: Undo commands executed 2: Echo timeout. 3: Hello failed. 4: Receiving Hello packets timed out. 5: Receiving messages failed. 6: Epoll error. 7: VRF deleted. 8: VRF global port down. 9: Failed to recycle the buffer. 10: AP down.
Context
- MIB
- HH3C-OFP-MIB
- OID
.1.3.6.1.4.1.25506.2.167.2.1.1- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- hh3cOfpMibTrapOid
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-OFP-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-OFP-MIB::hh3cOfpTrapDisconnectReason.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-OFP-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-OFP-MIB::hh3cOfpTrapDisconnectReason'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-10