BGP4V2-MIB :: bgp4V2PeerLastErrorCodeSent

MIB Reference — IPNetwork Monitor · Updated October 02, 2026

All MIBs › BGP4V2-MIB › bgp4V2PeerLastErrorCodeSent

bgp4V2PeerLastErrorCodeSent

Module: BGP4V2-MIB

OID (symbolic): BGP4V2-MIB::bgp4V2PeerLastErrorCodeSent

OID (numeric): 1.3.6.1.4.1.1991.3.5.1.1.3.1.6

Node type: OBJECT-TYPE

Type: Unsigned32

Access: read-only

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

What is bgp4V2PeerLastErrorCodeSent?

This is the BGP error code from the last NOTIFICATION message sent to the peer, or 0 if none. It shows errors detected locally and communicated to the neighbor. Example: error code 5 (peer deconfigured) indicates you sent a notification closing the session.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.1991.3.5.1.1.3.1.6
snmpwalk -v2c -c public <target> BGP4V2-MIB::bgp4V2PeerLastErrorCodeSent

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.1991.3.5.1.1.3.1.6.1
snmpget -v2c -c public <target> BGP4V2-MIB::bgp4V2PeerLastErrorCodeSent.1

Start monitoring BGP-speaking routers with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the BGP4V2-MIB::bgp4V2PeerLastErrorCodeSent 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.6bgp4V2PeerLastErrorCodeSentBGP4V2-MIB