hwBgpPeerSessionReason
HUAWEI-BGP-VPN-MIB ·
.1.3.6.1.4.1.2011.5.25.177.1.1.6.1.8
Object
column Enumeration
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) 8: Peer is not up for a specified long time(8) 100: Alarm clear(100)
Context
- MIB
- HUAWEI-BGP-VPN-MIB
- OID
.1.3.6.1.4.1.2011.5.25.177.1.1.6.1.8- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwBgpPeerSessionEntry
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 'HUAWEI-BGP-VPN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-BGP-VPN-MIB::hwBgpPeerSessionReason'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-BGP-VPN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-BGP-VPN-MIB::hwBgpPeerSessionReason.<hwBgpPeerSessionVrfName>.<hwBgpPeerSessionRemoteAddrType>.<hwBgpPeerSessionRemoteAddr>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-BGP-VPN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-BGP-VPN-MIB::hwBgpPeerSessionReason'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | configurationLeadPeerDown |
2 | receiveNotification |
3 | receiveErrorPacket |
4 | holdTimerExpire |
5 | remotePeerNotReachable |
6 | directConnectInterfaceDown |
7 | routeLimit |
8 | peerIsNotUpForASpecifiedPeriodOfTime |
100 | alarmClear |