HUAWEI-BGP-VPN-MIB :: hwBgpPeerLastError

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsHUAWEI-BGP-VPN-MIBhwBgpPeerLastError

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 OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.2011huaweiHUAWEI-3COM-OID-MIB
1.3.6.1.4.1.2011.5huaweiMgmtHUAWEI-3COM-OID-MIB
1.3.6.1.4.1.2011.5.25huaweiDatacommHUAWEI-3COM-OID-MIB
Numeric OIDNameModule
1.3.6.1.4.1.2011.5.25.177hwBgpMIBHUAWEI-BGP-VPN-MIB
1.3.6.1.4.1.2011.5.25.177.1hwBgpObjectsHUAWEI-BGP-VPN-MIB
1.3.6.1.4.1.2011.5.25.177.1.1hwBgpPeersHUAWEI-BGP-VPN-MIB
1.3.6.1.4.1.2011.5.25.177.1.1.2hwBgpPeerTableHUAWEI-BGP-VPN-MIB
1.3.6.1.4.1.2011.5.25.177.1.1.2.1hwBgpPeerEntryHUAWEI-BGP-VPN-MIB
1.3.6.1.4.1.2011.5.25.177.1.1.2.1.9hwBgpPeerLastErrorHUAWEI-BGP-VPN-MIB