router-id
This command assigns a unique router ID for this device within the autonomous
system for the current OSPFv3 process. Use the no form to restore the default
setting.
Syntax
router-id ip-address
no router-id
ip-address - Router ID formatted as an IPv4 address.
Command Mode
Router Configuration
Default Setting
None
Command Usage
◆
This command sets the router ID for the OSPF process specified in the
ipv6 ospf
◆
The router ID must be unique for every router in the autonomous system. (Note
that the router ID can also be set to 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
ipv6 ospf
◆
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.
◆
The current routing process will not be enabled until a Router ID is configured
with this command.
Example
Console(config-router)#router-id 10.1.1.1
Console(config-router)#
Related Commands
router ipv6 ospf (882)
command.
followed by the
router ipv6 ospf
– 885 –
Chapter 29
| IP Routing Commands
Open Shortest Path First (OSPFv3)
command.
router
no router