HH3C-BGP4V2-MIB :: hh3cBgp4v2PeerLastError

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › HH3C-BGP4V2-MIB › hh3cBgp4v2PeerLastError

hh3cBgp4v2PeerLastError

Module: HH3C-BGP4V2-MIB

OID (symbolic): HH3C-BGP4V2-MIB::hh3cBgp4v2PeerLastError

OID (numeric): 1.3.6.1.4.1.25506.2.183.1.1.1.2

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 hh3cBgp4v2PeerLastError?

This two-byte field records the BGP error code and subcode most recently seen on this peer's connection, or all zeros if no error has occurred. An admin decodes these two bytes against the BGP error-code and subcode tables in RFC 4271 to diagnose why a BGP session with a particular peer reset or failed to establish. A value corresponding to error code 6 (Cease) subcode 1 would tell the admin the peering session was administratively shut down.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.25506.2.183.1.1.1.2
snmpwalk -v2c -c public <target> HH3C-BGP4V2-MIB::hh3cBgp4v2PeerLastError

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.25506.2.183.1.1.1.2.1
snmpget -v2c -c public <target> HH3C-BGP4V2-MIB::hh3cBgp4v2PeerLastError.1

Start monitoring H3C router/Layer 3 switch (extended BGP-4/multiprotocol BGP) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HH3C-BGP4V2-MIB::hh3cBgp4v2PeerLastError OID value, configure state conditions and alerts, and monitor any H3C router/Layer 3 switch (extended BGP-4/multiprotocol BGP) from a single console.

OID Breakdown

Upper-level ancestors (8 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.25506hh3cHH3C-OID-MIB
1.3.6.1.4.1.25506.2hh3cCommonHH3C-OID-MIB
Numeric OIDNameModule
1.3.6.1.4.1.25506.2.183hh3cBgp4v2HH3C-BGP4V2-MIB
1.3.6.1.4.1.25506.2.183.1hh3cBgp4v2ObjectsHH3C-BGP4V2-MIB
1.3.6.1.4.1.25506.2.183.1.1hh3cBgp4v2PeerTableHH3C-BGP4V2-MIB
1.3.6.1.4.1.25506.2.183.1.1.1hh3cBgp4v2PeerEntryHH3C-BGP4V2-MIB
1.3.6.1.4.1.25506.2.183.1.1.1.2hh3cBgp4v2PeerLastErrorHH3C-BGP4V2-MIB