All MIBs › NETSCREEN-BGP4-MIB › nsBgpPeerLastError
nsBgpPeerLastError
Module: NETSCREEN-BGP4-MIB
OID (symbolic): NETSCREEN-BGP4-MIB::nsBgpPeerLastError
OID (numeric): 1.3.6.1.4.1.3224.18.3.3.1.14
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 nsBgpPeerLastError?
Two-byte code recording the last BGP error (error code + subcode) seen on this peer session, all-zero if no error has occurred — the first place to check when a peering session unexpectedly resets.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.3224.18.3.3.1.14 snmpwalk -v2c -c public <target> NETSCREEN-BGP4-MIB::nsBgpPeerLastError
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.3224.18.3.3.1.14.1 snmpget -v2c -c public <target> NETSCREEN-BGP4-MIB::nsBgpPeerLastError.1
Start monitoring Juniper NetScreen ScreenOS firewall (BGP4 routing) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the NETSCREEN-BGP4-MIB::nsBgpPeerLastError OID value, configure state conditions and alerts, and monitor any Juniper NetScreen ScreenOS firewall (BGP4 routing) 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.3224 | netscreen | NETSCREEN-SMI |
| 1.3.6.1.4.1.3224.18 | netscreenVR | NETSCREEN-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.3224.18.3 | nsBgp | NETSCREEN-BGP4-MIB |
| 1.3.6.1.4.1.3224.18.3.3 | nsBgpPeerTable | NETSCREEN-BGP4-MIB |
| 1.3.6.1.4.1.3224.18.3.3.1 | nsBgpPeerEntry | NETSCREEN-BGP4-MIB |
| 1.3.6.1.4.1.3224.18.3.3.1.14 | nsBgpPeerLastError | NETSCREEN-BGP4-MIB |