All MIBs › CISCO-BGP4-MIB › cbgpPeer2LastError
cbgpPeer2LastError
Module: CISCO-BGP4-MIB
OID (symbolic): CISCO-BGP4-MIB::cbgpPeer2LastError
OID (numeric): 1.3.6.1.4.1.9.9.187.1.2.5.1.17
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.
What is cbgpPeer2LastError?
Reports the last BGP error code and subcode seen on this peer connection, encoded as a two-byte value (zero if no error has occurred), useful for diagnosing session failures.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.9.187.1.2.5.1.17 snmpwalk -v2c -c public <target> CISCO-BGP4-MIB::cbgpPeer2LastError
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.9.187.1.2.5.1.17.1 snmpget -v2c -c public <target> CISCO-BGP4-MIB::cbgpPeer2LastError.1
Start monitoring Cisco routers running BGP with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCO-BGP4-MIB::cbgpPeer2LastError OID value, configure state conditions and alerts, and monitor any Cisco routers running BGP from a single console.
OID Breakdown
Upper-level ancestors (8 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.9 | cisco | CAT2600-MIB |
| 1.3.6.1.4.1.9.9 | ciscoMgmt | CISCO-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.9.9.187 | ciscoBgp4MIB | CISCO-BGP4-MIB |
| 1.3.6.1.4.1.9.9.187.1 | ciscoBgp4MIBObjects | CISCO-BGP4-MIB |
| 1.3.6.1.4.1.9.9.187.1.2 | cbgpPeer | CISCO-BGP4-MIB |
| 1.3.6.1.4.1.9.9.187.1.2.5 | cbgpPeer2Table | CISCO-BGP4-MIB |
| 1.3.6.1.4.1.9.9.187.1.2.5.1 | cbgpPeer2Entry | CISCO-BGP4-MIB |
| 1.3.6.1.4.1.9.9.187.1.2.5.1.17 | cbgpPeer2LastError | CISCO-BGP4-MIB |