All MIBs › RFC1248-MIB › ospfIfAuthKey
ospfIfAuthKey
Module: RFC1248-MIB
OID (symbolic): RFC1248-MIB::ospfIfAuthKey
OID (numeric): 1.3.6.1.2.1.13.7.1.16
Node type: OBJECT-TYPE
Type: OCTET STRING
Access: read-write
Description: The Authentication Key. If the Area's Authorization Type is simplePassword, and the key length is shorter than 8 octets, the agent will left adjust and zero fill to 8 octets.
When read, ospfIfAuthKey always returns an Octet String of length zero.
What is ospfIfAuthKey?
This holds the OSPF authentication key for this interface, used when the area's authentication type is simplePassword (short keys get left-adjusted and zero-filled to 8 octets); for security it always reads back as a zero-length string regardless of what was configured. Admins write this to set the shared password routers on this segment must present, then rely on ospfIfState/ospfNbrState to confirm adjacencies still form correctly afterward.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.13.7.1.16 snmpwalk -v2c -c public <target> RFC1248-MIB::ospfIfAuthKey
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.13.7.1.16.1 snmpget -v2c -c public <target> RFC1248-MIB::ospfIfAuthKey.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.2.1.13.7.1.16.1 s <value>
Start monitoring IP routers running OSPF with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the RFC1248-MIB::ospfIfAuthKey OID value, configure state conditions and alerts, and monitor any IP routers running OSPF from a single console.
OID Breakdown
Upper-level ancestors (9 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.2 | mgmt | AXON-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| 1.3.6.1.2.1.13 | appletalk | JETDIRECT3-MIB |
| 1.3.6.1.2.1.13.7 | zip | MRVINREACH |
| 1.3.6.1.2.1.13.7.1 | zipTable | RFC1243-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.13.7.1.16 | ospfIfAuthKey | RFC1248-MIB |