24-Port Layer 3 Switch Management Guide
IP R
OUTING
C
OMMANDS
4-247
router-id
Use this command to assign a unique router ID for this device within the
autonomous system. Use the no form to use the default router
identification method (i.e., the lowest interface address).
Syntax
router-id ip-address
no router-id
ip-address - Router ID formatted as an IP address.
Command Mode
Router Configuration
Default Setting
Lowest interface address
Command Usage
• The router ID must be unique for every router in the autonomous
system. Using the default setting based on the lowest interface address
ensures that each router ID is unique. Also, note that you cannot set
the router ID to 0.0.0.0 or 255.255.255.255.
• If this router already has registered neighbors, the new router ID will
be used when the router is rebooted, or manually restarted by entering
the no router ospf followed by the router ospf command.
• If the priority values of the routers bidding to be the designated router
or backup designated router for an area are equal, the router with the
highest ID is elected.
Example
Related Commands
router ospf (4-246)
Console(config-router)#router-id 10.1.1.1
Console(config-router)#