jnxBgpM2PeerLastErrorReceived
BGP4-V2-MIB-JUNIPER ·
junose variant
·
.1.3.6.1.4.1.2636.5.1.1.2.2.1.1.1
Object
column OctetString
The last error code and subcode received by this BGP Speaker via a NOTIFICATION message for this peer. 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.
Context
- MIB
- BGP4-V2-MIB-JUNIPER
- OID
.1.3.6.1.4.1.2636.5.1.1.2.2.1.1.1- Type
- column
- Access
- readonly
- Status
- current
- Parent
- jnxBgpM2PeerErrorsEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'BGP4-V2-MIB-JUNIPER' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BGP4-V2-MIB-JUNIPER::jnxBgpM2PeerLastErrorReceived'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BGP4-V2-MIB-JUNIPER' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BGP4-V2-MIB-JUNIPER::jnxBgpM2PeerLastErrorReceived.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BGP4-V2-MIB-JUNIPER' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BGP4-V2-MIB-JUNIPER::jnxBgpM2PeerLastErrorReceived'
Syntax
OctetString
Values & Constraints
No enumerated values or constraints recorded.
Conformance
Member of