ospfIfState
RFC15850-MIB ·
.0.14.7.1.12
Object
column mandatory
Enumeration
The OSPF Interface State.
Context
- MIB
- RFC15850-MIB
- OID
.0.14.7.1.12- Type
- column
- Access
- readonly
- Status
- mandatory
- 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 'RFC15850-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RFC15850-MIB::ospfIfState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RFC15850-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RFC15850-MIB::ospfIfState.<ospfAddressLessIf>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RFC15850-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RFC15850-MIB::ospfIfState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | down |
2 | loopback |
3 | waiting |
4 | pointToPoint |
5 | designatedRouter |
6 | backupDesignatedRouter |
7 | otherDesignatedRouter |