Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 3 OSPF Configuration Commands
3Com Corporation
3-53
3.1.50 router id
Syntax
router id router-id
undo router id
View
System view
Parameter
router-id: Router ID that is a 32-bit unsigned integer.
Description
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.
By default, no router ID is configured.
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.
Example
# Set the router ID to 10.1.1.3.
[3Com ] router id 10.1.1.3