tBgpPeerNgLastError
TIMETRA-BGP-MIB ·
.1.3.6.1.4.1.6527.3.1.2.14.4.10.1.11
Object
column OctetString
The value of tBgpPeerNgLastError indicates the last error code and subcode seen by this peer on this connection. If no error has occurred, two zero octets are returned. Otherwise, the first octet of this two-byte OCTET STRING contains the error code, and the second octet contains the subcode.
Context
- MIB
- TIMETRA-BGP-MIB
- OID
.1.3.6.1.4.1.6527.3.1.2.14.4.10.1.11- Type
- column
- Access
- readonly
- Status
- current
- Parent
- tBgpPeerNgParamsEntry
- Groups
- 2
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 'TIMETRA-BGP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-BGP-MIB::tBgpPeerNgLastError'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TIMETRA-BGP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-BGP-MIB::tBgpPeerNgLastError.<tBgpPeerNgInstanceIndex>.<tBgpPeerNgAddressType>.<tBgpPeerNgAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TIMETRA-BGP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TIMETRA-BGP-MIB::tBgpPeerNgLastError'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 2-2