All MIBs › HUAWEI-BGP-VPN-MIB › hwBgpPeerLastError
hwBgpPeerLastError
Module: HUAWEI-BGP-VPN-MIB
OID (symbolic): HUAWEI-BGP-VPN-MIB::hwBgpPeerLastError
OID (numeric): 1.3.6.1.4.1.2011.5.25.177.1.1.2.1.9
Node type: OBJECT-TYPE
Type: OCTET STRING
Access: read-only
Description: The last error code and subcode seen by this peer on this connection. If no error has occurred, this field is zero. Otherwise, the first byte of this two byte OCTET STRING contains the error code, and the second byte contains the subcode.
What is hwBgpPeerLastError?
Holds the last BGP error/subcode this peer reported (2 bytes: error code then subcode), or zero if no error has occurred; an admin decodes these codes per the BGP spec to diagnose why a session failed or was torn down.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.177.1.1.2.1.9 snmpwalk -v2c -c public <target> HUAWEI-BGP-VPN-MIB::hwBgpPeerLastError
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.177.1.1.2.1.9.1 snmpget -v2c -c public <target> HUAWEI-BGP-VPN-MIB::hwBgpPeerLastError.1
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> hwBgpPeerLastError.1
Start monitoring Huawei PE (provider edge) router (BGP/MPLS L3VPN) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-BGP-VPN-MIB::hwBgpPeerLastError OID value, configure state conditions and alerts, and monitor any Huawei PE (provider edge) router (BGP/MPLS L3VPN) from a single console.
OID Breakdown
Upper-level ancestors (9 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.2011 | huawei | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5 | huaweiMgmt | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.25 | huaweiDatacomm | HUAWEI-3COM-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.5.25.177 | hwBgpMIB | HUAWEI-BGP-VPN-MIB |
| 1.3.6.1.4.1.2011.5.25.177.1 | hwBgpObjects | HUAWEI-BGP-VPN-MIB |
| 1.3.6.1.4.1.2011.5.25.177.1.1 | hwBgpPeers | HUAWEI-BGP-VPN-MIB |
| 1.3.6.1.4.1.2011.5.25.177.1.1.2 | hwBgpPeerTable | HUAWEI-BGP-VPN-MIB |
| 1.3.6.1.4.1.2011.5.25.177.1.1.2.1 | hwBgpPeerEntry | HUAWEI-BGP-VPN-MIB |
| 1.3.6.1.4.1.2011.5.25.177.1.1.2.1.9 | hwBgpPeerLastError | HUAWEI-BGP-VPN-MIB |