hwIpDslamBgpPeerUnAvaiReason

HUAWEI-IPDSLAM-L3PROTOCOL-MIB · .1.3.6.1.4.1.2011.6.125.1.6.7

Object

Bgp peer down reason including:
1: Configuration lead peer down(1)
2: Receive notification(2)
3: Receive error packet(3) 
4: Hold timer expire(4)
5: Remote peer not reachable(5) 
6: Direct connect-interface down(6) 
7: Route limit(7)

Context

MIB
HUAWEI-IPDSLAM-L3PROTOCOL-MIB
OID
.1.3.6.1.4.1.2011.6.125.1.6.7
Type
scalar
Access
readonly
Status
current
Parent
hwBgpAlarmTrapsVbOids

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

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

Syntax

Source
SNMPv2-SMIUnsigned32
Base type
Unsigned32

Values & Constraints

Type Constraints
range: 0..4294967295