All MIBs › Juniper-BGP-MIB › juniBgpPeerLastErrorCode
juniBgpPeerLastErrorCode
Module: Juniper-BGP-MIB
OID (symbolic): Juniper-BGP-MIB::juniBgpPeerLastErrorCode
OID (numeric): 1.3.6.1.4.1.4874.2.2.29.1.4.1.15
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.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.4874.2.2.29.1.4.1.15 snmpwalk -v2c -c public <target> Juniper-BGP-MIB::juniBgpPeerLastErrorCode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.4874.2.2.29.1.4.1.15.1 snmpget -v2c -c public <target> Juniper-BGP-MIB::juniBgpPeerLastErrorCode.1
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> juniBgpPeerLastErrorCode.1
Start monitoring Juniper E-series router (BGP configuration/peer sessions/route stats) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the Juniper-BGP-MIB::juniBgpPeerLastErrorCode OID value, configure state conditions and alerts, and monitor any Juniper E-series router (BGP configuration/peer sessions/route stats) 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.4874 | juniperUni | Juniper-UNI-SMI |
| 1.3.6.1.4.1.4874.2 | juniperUniMibs | Juniper-UNI-SMI |
| 1.3.6.1.4.1.4874.2.2 | juniMibs | Juniper-MIBs |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.4874.2.2.29 | juniBgpMIB | Juniper-BGP-MIB |
| 1.3.6.1.4.1.4874.2.2.29.1 | juniBgpObjects | Juniper-BGP-MIB |
| 1.3.6.1.4.1.4874.2.2.29.1.4 | juniBgpPeerTable | Juniper-BGP-MIB |
| 1.3.6.1.4.1.4874.2.2.29.1.4.1 | juniBgpPeerEntry | Juniper-BGP-MIB |
| 1.3.6.1.4.1.4874.2.2.29.1.4.1.15 | juniBgpPeerLastErrorCode | Juniper-BGP-MIB |