Reconfiguring the router ID (optional)

If you want to change the router ID setting, do the following:

  1. Go to the global config context; the CLI prompt appears similar to the following:
  2. switch(config)#_
  3. If OSPF is not enabled, go to 4; if OSPF is enabled, use no router ospf to disable OSPF operation.
  4. Use ip router-id ip-addr to specify a new router ID. (This IP address must be unique in the routing switch configuration.)
  5. If you disabled OSPF operation in 3, 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.