BGP4V2-MIB :: bgp4V2PeerLastErrorCodeReceived

MIB Reference — IPNetwork Monitor · Updated October 02, 2026

All MIBs › BGP4V2-MIB › bgp4V2PeerLastErrorCodeReceived

bgp4V2PeerLastErrorCodeReceived

Module: BGP4V2-MIB

OID (symbolic): BGP4V2-MIB::bgp4V2PeerLastErrorCodeReceived

OID (numeric): 1.3.6.1.4.1.1991.3.5.1.1.3.1.1

Node type: OBJECT-TYPE

Type: Unsigned32

Access: read-only

Description: The last error code received from this peer via NOTIFICATION message on this connection. If no error has occurred, this field is zero.

What is bgp4V2PeerLastErrorCodeReceived?

This is the BGP error code from the last NOTIFICATION message received from the peer, or 0 if no error has occurred. It helps troubleshoot session failures. Example: error code 3 indicates an OPEN message error, such as a mismatch in BGP version or AS number.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.1991.3.5.1.1.3.1.1
snmpwalk -v2c -c public <target> BGP4V2-MIB::bgp4V2PeerLastErrorCodeReceived

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.1991.3.5.1.1.3.1.1.1
snmpget -v2c -c public <target> BGP4V2-MIB::bgp4V2PeerLastErrorCodeReceived.1

Start monitoring BGP-speaking routers with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the BGP4V2-MIB::bgp4V2PeerLastErrorCodeReceived OID value, configure state conditions and alerts, and monitor any BGP-speaking routers 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.1991foundryFOUNDRY-SN-ROOT-MIB
1.3.6.1.4.1.1991.3experimentalFOUNDRY-SN-ROOT-MIB
1.3.6.1.4.1.1991.3.5bgp4V2RootFOUNDRY-SN-ROOT-MIB
Numeric OIDNameModule
1.3.6.1.4.1.1991.3.5.1bgp4V2BGP4V2-MIB
1.3.6.1.4.1.1991.3.5.1.1bgp4V2ObjectsBGP4V2-MIB
1.3.6.1.4.1.1991.3.5.1.1.3bgp4V2PeerErrorsTableBGP4V2-MIB
1.3.6.1.4.1.1991.3.5.1.1.3.1bgp4V2PeerErrorsEntryBGP4V2-MIB
1.3.6.1.4.1.1991.3.5.1.1.3.1.1bgp4V2PeerLastErrorCodeReceivedBGP4V2-MIB