All MIBs › HH3C-BGP4V2-MIB › hh3cBgp4v2PeerLastError
hh3cBgp4v2PeerLastError
Module: HH3C-BGP4V2-MIB
OID (symbolic): HH3C-BGP4V2-MIB::hh3cBgp4v2PeerLastError
OID (numeric): 1.3.6.1.4.1.25506.2.183.1.1.1.2
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 hh3cBgp4v2PeerLastError?
This two-byte field records the BGP error code and subcode most recently seen on this peer's connection, or all zeros if no error has occurred. An admin decodes these two bytes against the BGP error-code and subcode tables in RFC 4271 to diagnose why a BGP session with a particular peer reset or failed to establish. A value corresponding to error code 6 (Cease) subcode 1 would tell the admin the peering session was administratively shut down.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.25506.2.183.1.1.1.2 snmpwalk -v2c -c public <target> HH3C-BGP4V2-MIB::hh3cBgp4v2PeerLastError
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.25506.2.183.1.1.1.2.1 snmpget -v2c -c public <target> HH3C-BGP4V2-MIB::hh3cBgp4v2PeerLastError.1
Start monitoring H3C router/Layer 3 switch (extended BGP-4/multiprotocol BGP) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HH3C-BGP4V2-MIB::hh3cBgp4v2PeerLastError OID value, configure state conditions and alerts, and monitor any H3C router/Layer 3 switch (extended BGP-4/multiprotocol 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.25506 | hh3c | HH3C-OID-MIB |
| 1.3.6.1.4.1.25506.2 | hh3cCommon | HH3C-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.25506.2.183 | hh3cBgp4v2 | HH3C-BGP4V2-MIB |
| 1.3.6.1.4.1.25506.2.183.1 | hh3cBgp4v2Objects | HH3C-BGP4V2-MIB |
| 1.3.6.1.4.1.25506.2.183.1.1 | hh3cBgp4v2PeerTable | HH3C-BGP4V2-MIB |
| 1.3.6.1.4.1.25506.2.183.1.1.1 | hh3cBgp4v2PeerEntry | HH3C-BGP4V2-MIB |
| 1.3.6.1.4.1.25506.2.183.1.1.1.2 | hh3cBgp4v2PeerLastError | HH3C-BGP4V2-MIB |