hh3cBgpPeerState

HH3C-BGP-VPN-MIB · .1.3.6.1.4.1.25506.2.202.1.1.2.1.4

Object

column Enumeration
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
HH3C-BGP-VPN-MIB
OID
.1.3.6.1.4.1.25506.2.202.1.1.2.1.4
Type
column
Access
readonly
Status
current
Parent
hh3cBgpPeerEntry

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HH3C-BGP-VPN-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-BGP-VPN-MIB::hh3cBgpPeerState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-BGP-VPN-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-BGP-VPN-MIB::hh3cBgpPeerState.<hh3cBgpPeerInstanceId>.<hh3cBgpPeerVpnIndex>.<hh3cBgpPeerAddrFamilyId>.<hh3cBgpPeerSubAddrFamilyId>.<hh3cBgpPeerType>.<hh3cBgpPeerIPAddr>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-BGP-VPN-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-BGP-VPN-MIB::hh3cBgpPeerState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1idle
2connect
3active
4openSent
5openConfirm
6established