hh3cBgpPeerGRStatus
HH3C-BGP-VPN-MIB ·
.1.3.6.1.4.1.25506.2.202.1.1.2.1.7
Object
column Enumeration
Graceful restart status of the BGP peer, including: 1: peerNotBeingHelped, indicating that the BGP peer will not be helped during restarting. 2: peerRestarting, indicating that the BGP peer is detected restarting. 3: peerFinishRestart, indicating that the BGP peer finishes the latest GR. 4: peerHelping, indicating that the BGP peer is helping the local end to perform GR.
Context
- MIB
- HH3C-BGP-VPN-MIB
- OID
.1.3.6.1.4.1.25506.2.202.1.1.2.1.7- Type
- column
- Access
- notifyonly
- Status
- current
- Parent
- hh3cBgpPeerEntry
Net-SNMP examples
How SNMP and these commands workWalk 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::hh3cBgpPeerGRStatus'
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::hh3cBgpPeerGRStatus.<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::hh3cBgpPeerGRStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | peerNotBeingHelped |
2 | peerRestarting |
3 | peerFinishRestart |
4 | peerHelping |