Command:

router-id


Mode:

Router(config-router)#


Syntax:

router-id ip-address
no router-id ip-address

 

Syntax Description:

ip-address Router ID in IP address format.

 

Command Description:

To use a fixed router ID, use the router-id command in router configuration mode. To force OSPF to use the previous OSPF router ID behavior, use the no form of this command.

You can configure an arbitrary value in the IP address format for each router. However, each router ID must be unique.

If this command is used on an OSPF router process which is already active (has neighbors), the new router-ID is used at the next reload or at a manual OSPF process restart. To manually restart the OSPF process, use the clear ip ospf command.


Example:

The following example specifies a fixed router-id:

Router(config-router)# router-id 10.1.1.1


Misconceptions:

None


Related Commands:

clear ip ospf
router ospf

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)