hwIpDslamBgpPeerState
HUAWEI-IPDSLAM-L3PROTOCOL-MIB ·
.1.3.6.1.4.1.2011.6.125.1.6.3
Object
scalar HWBgpPeerState
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
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 '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
1 | idle |
2 | connect |
3 | active |
4 | opensent |
5 | openconfirm |
6 | established |