hwIpDslamBgpPeerState

HUAWEI-IPDSLAM-L3PROTOCOL-MIB · .1.3.6.1.4.1.2011.6.125.1.6.3

Object

The status of the remote BGP peer, including:
1: Idle(1) 
2: Connect(2) 
3: Active(3) 
4: Opensent(4) 
5: Openconfirm(5) 
6: Established(6)

Context

MIB
HUAWEI-IPDSLAM-L3PROTOCOL-MIB
OID
.1.3.6.1.4.1.2011.6.125.1.6.3
Type
scalar
Access
notifyonly
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::hwIpDslamBgpPeerState.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::hwIpDslamBgpPeerState'

Syntax

Source
HWBgpPeerState
Base type
Enumeration

Values & Constraints

Type Values
1idle
2connect
3active
4opensent
5openconfirm
6established