bfdSessStateOperIfIndex
DC-BFD-STUB-MIB ·
.1.2.826.0.1.1578918.5.3.25.1.8.1.10
Object
column IF-MIBInterfaceIndexOrZero
The interface index of the interface that reaches the peer
associated with this BFD protocol session. If the peer is
not directly connected, then this object has the value
zero.
If no interface index was configured for the session, then
this shows the interface index that is actually being used
for the session.
Context
- MIB
- DC-BFD-STUB-MIB
- OID
.1.2.826.0.1.1578918.5.3.25.1.8.1.10- Type
- column
- Access
- readonly
- Status
- current
- Parent
- bfdSessStateEntry
- 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 'DC-BFD-STUB-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BFD-STUB-MIB::bfdSessStateOperIfIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DC-BFD-STUB-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BFD-STUB-MIB::bfdSessStateOperIfIndex.<bfdEntityIndex>.<bfdSessStateIfIndex>.<bfdSessStatePeerAddrType>.<bfdSessStatePeerAddr>.<bfdSessStateLocalAddrType>.<bfdSessStateLocalAddr>.<bfdSessStateRemoteDiscr>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DC-BFD-STUB-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DC-BFD-STUB-MIB::bfdSessStateOperIfIndex'
Syntax
- Source
- IF-MIBInterfaceIndexOrZero
- Base type
Integer32- Display format
d
Type Description
This textual convention is an extension of the InterfaceIndex convention. The latter defines a greater than zero value used to identify an interface or interface sub-layer in the managed system. This extension permits the additional value of zero. the value zero is object-specific and must therefore be defined as part of the description of any object which uses this syntax. Examples of the usage of zero might include situations where interface was unknown, or when none or all interfaces need to be referenced.
Values & Constraints
Type Constraints
range: 0..2147483647
Conformance
Member of