ospfIfSubIdx
BTI-7000-MIB ·
.1.3.6.1.4.1.18070.2.2.1.13.3.1.6
Object
column Integer32
The number of the sub-interface that the OSFP Interface corresponds to. Set to zero if the ospfIfSubIdx is not applicable for identification of the OSPF interface.
Context
- MIB
- BTI-7000-MIB
- OID
.1.3.6.1.4.1.18070.2.2.1.13.3.1.6- Type
- column
- Access
- notifyonly
- Status
- current
- Parent
- ospfIfEntry
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 'BTI-7000-MIB' -M '/opt/observium/mibs/bti:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BTI-7000-MIB::ospfIfSubIdx'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BTI-7000-MIB' -M '/opt/observium/mibs/bti:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BTI-7000-MIB::ospfIfSubIdx.<ospfNbrIpAddr>.<ospfNbrAddressLessIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BTI-7000-MIB' -M '/opt/observium/mibs/bti:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BTI-7000-MIB::ospfIfSubIdx'
Syntax
Integer32
Values & Constraints
Enumerated Values
1 | down |
2 | attempt |
3 | init |
4 | twoWay |
5 | exchangeStart |
6 | exchange |
7 | loading |
8 | full |