Command Reference Guide

3Com Router 5000 Family and Router 6000 Family router id 281
Command Reference
router id
Purpose Use the router id command to configure the ID of a router running the OSPF
protocol.
Use the undo router id command to cancel the router ID that has been
configured.
Syntax router id router-id
undo router id
Parameters router-id
Router ID that is a 32-bit unsigned integer.
Default By default, no router ID is configured.
Example Set the router ID to 10.1.1.3.
[3Com ] router id 10.1.1.3
View This command can be used in the following views:
System view
Description Router ID is a 32-bit unsigned integer that uniquely identifies a router in an OSPF
autonomous system. If the router ID is not specified, the router will automatically
choose a largest one from the IP addresses of a configured interface as its own ID. If
none of the interfaces is configured with an IP address, then you must configure the
router ID in system view, otherwise, the OSPF cannot be operated.
When the router ID is configured manually, the IDs of any two routers cannot be
identical in the autonomous system. It is recommended that you choose the IP
address of the loopback interface as the router ID, because the interface is always up
unless you shut it down manually.
Note:
The modified router ID will not be valid unless OSPF is re-enabled.
The router ID configured using the router id command takes effect only on the
OSPF on public networks.
Related Command ospf