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