BGP4-V2-MIB-JUNIPER :: jnxBgpM2PeerLastErrorSent

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsBGP4-V2-MIB-JUNIPERjnxBgpM2PeerLastErrorSent

jnxBgpM2PeerLastErrorSent

Module: BGP4-V2-MIB-JUNIPER

OID (symbolic): BGP4-V2-MIB-JUNIPER::jnxBgpM2PeerLastErrorSent

OID (numeric): 1.3.6.1.4.1.2636.5.1.1.2.2.1.1.2

Node type: OBJECT-TYPE

Type: OCTET STRING

Access: read-only

Description: The last error code and subcode sent by this BGP Speaker via a NOTIFICATION message to this peer. 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 jnxBgpM2PeerLastErrorSent?

This two-byte field encodes the error code and subcode transmitted in BGP NOTIFICATION messages to a peer, with the first byte containing the error code and the second byte the subcode. When a BGP session detects a problem it cannot recover from, it sends a NOTIFICATION with error details to cleanly terminate the peer relationship. Example: error code 2 (OPEN Message Error) with subcode 1 (Unsupported Version Number) when the peer doesn't support negotiated BGP versions.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2636.5.1.1.2.2.1.1.2
snmpwalk -v2c -c public <target> BGP4-V2-MIB-JUNIPER::jnxBgpM2PeerLastErrorSent

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.2636.5.1.1.2.2.1.1.2.1
snmpget -v2c -c public <target> BGP4-V2-MIB-JUNIPER::jnxBgpM2PeerLastErrorSent.1

Start monitoring Juniper Networks routers with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the BGP4-V2-MIB-JUNIPER::jnxBgpM2PeerLastErrorSent OID value, configure state conditions and alerts, and monitor any Juniper Networks 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.2636juniperMIBJUNIPER-SMI
1.3.6.1.4.1.2636.5jnxExperimentJUNIPER-EXPERIMENT-MIB
1.3.6.1.4.1.2636.5.1jnxBgpM2ExperimentJUNIPER-EXPERIMENT-MIB
Numeric OIDNameModule
1.3.6.1.4.1.2636.5.1.1jnxBgpM2BGP4-V2-MIB-JUNIPER
1.3.6.1.4.1.2636.5.1.1.2jnxBgpM2PeerBGP4-V2-MIB-JUNIPER
1.3.6.1.4.1.2636.5.1.1.2.2jnxBgpM2PeerErrorsBGP4-V2-MIB-JUNIPER
1.3.6.1.4.1.2636.5.1.1.2.2.1jnxBgpM2PeerErrorsTableBGP4-V2-MIB-JUNIPER
1.3.6.1.4.1.2636.5.1.1.2.2.1.1jnxBgpM2PeerErrorsEntryBGP4-V2-MIB-JUNIPER
1.3.6.1.4.1.2636.5.1.1.2.2.1.1.2jnxBgpM2PeerLastErrorSentBGP4-V2-MIB-JUNIPER