All MIBs › ACC-FAKE › ospfRouterId
ospfRouterId
Module: ACC-FAKE
OID (symbolic): ACC-FAKE::ospfRouterId
OID (numeric): 1.3.6.1.4.1.5.2.10
Node type: OBJECT-TYPE
Type: RouterID
Access: read-write
Description:
A 32-bit integer uniquely identifying the router in the Autonomous System. By convention, to ensure uniqueness, this should default to the value of one of the router's IP interface addresses.
What is ospfRouterId?
ACC-FAKE::ospfRouterId is a unique 32-bit identifier assigned to each router in OSPF, typically the highest IP address on the router. You configure this to ensure each router can be uniquely identified in the network; by convention, it's often set to a loopback interface IP to remain stable. For example, setting it to 10.0.0.1 makes that the router's permanent identity regardless of which interface goes down.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.5.2.10 snmpwalk -v2c -c public <target> ACC-FAKE::ospfRouterId
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.5.2.10.1 snmpget -v2c -c public <target> ACC-FAKE::ospfRouterId.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.5.2.10.1 s <value>