All MIBs › OSPF-MIB › ospfRouterId
ospfRouterId
Module: OSPF-MIB
OID (symbolic): OSPF-MIB::ospfRouterId
OID (numeric): 1.3.6.1.2.1.14.1
Node type: OBJECT-TYPE
Type: RouterID
Access: read-write
Description:
OSPF router identifier.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.14.1 snmpwalk -v2c -c public <target> OSPF-MIB::ospfRouterId
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.14.1.1 snmpget -v2c -c public <target> OSPF-MIB::ospfRouterId.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.2.1.14.1.1 s <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> ospfRouterId.1