bgpNeighborSessionState
CORIANT-GROOVE-MIB ·
.1.3.6.1.4.1.42229.1.2.6.25.1.1.5
Object
column Enumeration
Operational state of the BGP peer
default value :IDLE
Context
- MIB
- CORIANT-GROOVE-MIB
- OID
.1.3.6.1.4.1.42229.1.2.6.25.1.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- bgpNeighborEntry
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 'CORIANT-GROOVE-MIB' -M '/opt/observium/mibs/coriant:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CORIANT-GROOVE-MIB::bgpNeighborSessionState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CORIANT-GROOVE-MIB' -M '/opt/observium/mibs/coriant:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CORIANT-GROOVE-MIB::bgpNeighborSessionState.<routingProtocolRtpType>.<routingProtocolRtpName>.<bgpNeighborNeighborAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CORIANT-GROOVE-MIB' -M '/opt/observium/mibs/coriant:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CORIANT-GROOVE-MIB::bgpNeighborSessionState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | idle |
2 | connect |
3 | active |
4 | opensent |
5 | openconfirm |
6 | established |