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 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.6 | bgp4V2PeerLastErrorCodeSent | BGP4V2-MIB |