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 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.1991 | foundry | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.3 | experimental | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.3.5 | bgp4V2Root | FOUNDRY-SN-ROOT-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.1991.3.5.1 | bgp4V2 | BGP4V2-MIB |
| 1.3.6.1.4.1.1991.3.5.1.1 | bgp4V2Objects | BGP4V2-MIB |
| 1.3.6.1.4.1.1991.3.5.1.1.3 | bgp4V2PeerErrorsTable | BGP4V2-MIB |
| 1.3.6.1.4.1.1991.3.5.1.1.3.1 | bgp4V2PeerErrorsEntry | BGP4V2-MIB |
| 1.3.6.1.4.1.1991.3.5.1.1.3.1.1 | bgp4V2PeerLastErrorCodeReceived | BGP4V2-MIB |