If you want to change the router ID setting, do the following:
-
Go to the global config context; the CLI prompt appears similar to the following:
-
If OSPF is not enabled, go to Step 3; if OSPF is enabled, use
no router ospf
to disable OSPF operation. -
Use
ip router-id
to specify a new router ID. (This IP address must be unique in the routing switch configuration.)ip-addr
-
If you disabled OSPF operation in Step 2, use
router ospf
to re-enable OSPF operation.
For more information on the router ID, see IP global parameters for routing switches and Changing the router ID.