ospfIfAdminStat
RFC15850-MIB ·
.0.14.7.1.5
Object
column mandatory
Enumeration
The OSPF interface's administrative status. The value 'enabled' denotes that neighbor relationships may be formed on the interface, and the interface will be advertised as an internal route to some area. The value 'disabled' denotes that the interface is external to OSPF. This variable is implicitly set by the value of ipExtIfOspf.
Context
- MIB
- RFC15850-MIB
- OID
.0.14.7.1.5- 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::ospfIfAdminStat'
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::ospfIfAdminStat.<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::ospfIfAdminStat'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enabled |
2 | disabled |