router-id
This command assigns a unique router ID for this device within the au tonomous
system. Use the
no
form to use the default router identification metho d (i.e., the
lowest interface address).
Syntax
router-id ip-add ress
no router-id
ip-address - Router ID formatte d as an IP address.
Command Mode
Router Configuration
Default Setting
Lowest interface address
Command Usage
The router ID must be unique for every route r in the autonomou s system.
Using the default setting based on the lowest interface address ensures that
each router ID is unique. Also, note that the router ID you canno t be set to
0.0.0.0 or 255.255.255.255.
If this router already has registere d neighbo rs, the new router ID will be used
when the router is rebooted, or manually restarted by entering the
no router
ospf
(page 42-19) followed by the
router ospf
command.
If the priority values of the routers bidding to be the designated r outer or
backup designated router for an area are equal, the router with the highest ID
is elected.
Example
Console(config-router)#router-id 10.1.1.1
Console(config-router)#
Related Commands
router ospf (42-19)
compatible rfc1583
This command calculates summary route costs using RFC 1583 (early OSPF v2).
Use the
no
form to calculate costs using RFC 2328 (OSPFv2).
Syntax
[
no
]
compatible rfc1583
Command Mode
Router Configuration
Default Setting
RFC 1583 compatible
42-20
IP Routing Commands
42