tBgpPeerNgOperLastState
TIMETRA-BGP-MIB ·
.1.3.6.1.4.1.6527.3.1.2.14.4.8.1.11
Object
column BgpPeerState
The value of tBgpPeerNgOperLastState indicates the last BGP state of this peer.
Context
- MIB
- TIMETRA-BGP-MIB
- OID
.1.3.6.1.4.1.6527.3.1.2.14.4.8.1.11- Type
- column
- Access
- readonly
- Status
- current
- Parent
- tBgpPeerNgOperEntry
- Groups
- 7
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::tBgpPeerNgOperLastState'
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::tBgpPeerNgOperLastState.<index>'
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::tBgpPeerNgOperLastState'
Syntax
- Source
- BgpPeerState
- Base type
Enumeration
Values & Constraints
Type Values
1 | idle |
2 | connect |
3 | active |
4 | opensent |
5 | openconfirm |
6 | established |