CISCO-BGP4-MIB :: cbgpPeer2LastError

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsCISCO-BGP4-MIBcbgpPeer2LastError

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 OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.9ciscoCAT2600-MIB
1.3.6.1.4.1.9.9ciscoMgmtCISCO-SMI
Numeric OIDNameModule
1.3.6.1.4.1.9.9.187ciscoBgp4MIBCISCO-BGP4-MIB
1.3.6.1.4.1.9.9.187.1ciscoBgp4MIBObjectsCISCO-BGP4-MIB
1.3.6.1.4.1.9.9.187.1.2cbgpPeerCISCO-BGP4-MIB
1.3.6.1.4.1.9.9.187.1.2.5cbgpPeer2TableCISCO-BGP4-MIB
1.3.6.1.4.1.9.9.187.1.2.5.1cbgpPeer2EntryCISCO-BGP4-MIB
1.3.6.1.4.1.9.9.187.1.2.5.1.17cbgpPeer2LastErrorCISCO-BGP4-MIB