eltexBgpPeerStatusLastErrorSent
ELTEX-BGP-MIB ·
.1.3.6.1.4.1.35265.45.1.2.1.3.1.32
Object
column OctetString
The last error code and subcode sent to the peer on this
connection.
If no error has been sent to the peer, 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
- ELTEX-BGP-MIB
- OID
.1.3.6.1.4.1.35265.45.1.2.1.3.1.32- Type
- column
- Access
- readonly
- Status
- current
- Parent
- eltexBgpPeerStatusEntry
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 'ELTEX-BGP-MIB' -M '/opt/observium/mibs/eltex:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ELTEX-BGP-MIB::eltexBgpPeerStatusLastErrorSent'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ELTEX-BGP-MIB' -M '/opt/observium/mibs/eltex:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ELTEX-BGP-MIB::eltexBgpPeerStatusLastErrorSent.<eltexBgpProcessId>.<eltexBgpPeerRemoteAddrType>.<eltexBgpPeerRemoteAddr>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ELTEX-BGP-MIB' -M '/opt/observium/mibs/eltex:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ELTEX-BGP-MIB::eltexBgpPeerStatusLastErrorSent'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 2-2