All MIBs › DC-BGP-MIB › bgpPeerLastError
bgpPeerLastError
Module: DC-BGP-MIB
OID (symbolic): DC-BGP-MIB::bgpPeerLastError
OID (numeric): 1.2.826.0.1.1578918.5.65.1.3.1.1.1.21
Node type: OBJECT-TYPE
Type: OCTET STRING
Access: read-only
Description: The last error code and subcode sent or received 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.
It is equivalent to the bgpM2PeerErrorsTable entries bgpM2PeerLastErrorReceived and bgpM2PeerLastErrorSent.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.2.826.0.1.1578918.5.65.1.3.1.1.1.21 snmpwalk -v2c -c public <target> DC-BGP-MIB::bgpPeerLastError
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.2.826.0.1.1578918.5.65.1.3.1.1.1.21.1 snmpget -v2c -c public <target> DC-BGP-MIB::bgpPeerLastError.1
Start monitoring Router/switch running Data Connection (DC) routing protocol software stack (BGP) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DC-BGP-MIB::bgpPeerLastError OID value, configure state conditions and alerts, and monitor any Router/switch running Data Connection (DC) routing protocol software stack (BGP) from a single console.
OID Breakdown
Upper-level ancestors (6 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.2 | member_body | IEEE802dot11-MIB |
| 1.2.826 | gb | METASWITCH-MIB |
| 1.2.826.0 | gbNational | METASWITCH-MIB |
| 1.2.826.0.1 | gbNatCompany | METASWITCH-MIB |
| 1.2.826.0.1.1578918 | dataConnection | METASWITCH-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.2.826.0.1.1578918.5.65.1 | bgpMib | DC-BGP-MIB |
| 1.2.826.0.1.1578918.5.65.1.3 | bgpPeer | DC-BGP-MIB |
| 1.2.826.0.1.1578918.5.65.1.3.1 | bgpPeerData | DC-BGP-MIB |
| 1.2.826.0.1.1578918.5.65.1.3.1.1 | bgpPeerTable | DC-BGP-MIB |
| 1.2.826.0.1.1578918.5.65.1.3.1.1.1 | bgpPeerEntry | DC-BGP-MIB |
| 1.2.826.0.1.1578918.5.65.1.3.1.1.1.21 | bgpPeerLastError | DC-BGP-MIB |