All MIBs › BGP4-V2-MIB-JUNIPER › jnxBgpM2PeerLastErrorSent
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 OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.2636 | juniperMIB | JUNIPER-SMI |
| 1.3.6.1.4.1.2636.5 | jnxExperiment | JUNIPER-EXPERIMENT-MIB |
| 1.3.6.1.4.1.2636.5.1 | jnxBgpM2Experiment | JUNIPER-EXPERIMENT-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2636.5.1.1 | jnxBgpM2 | BGP4-V2-MIB-JUNIPER |
| 1.3.6.1.4.1.2636.5.1.1.2 | jnxBgpM2Peer | BGP4-V2-MIB-JUNIPER |
| 1.3.6.1.4.1.2636.5.1.1.2.2 | jnxBgpM2PeerErrors | BGP4-V2-MIB-JUNIPER |
| 1.3.6.1.4.1.2636.5.1.1.2.2.1 | jnxBgpM2PeerErrorsTable | BGP4-V2-MIB-JUNIPER |
| 1.3.6.1.4.1.2636.5.1.1.2.2.1.1 | jnxBgpM2PeerErrorsEntry | BGP4-V2-MIB-JUNIPER |
| 1.3.6.1.4.1.2636.5.1.1.2.2.1.1.2 | jnxBgpM2PeerLastErrorSent | BGP4-V2-MIB-JUNIPER |