R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)
444
undo router id
Default
No global router ID is configured.
Views
System view
Predefined user roles
network-admin
Parameters
router-id: Specifies a router ID in IP address format.
Usage guidelines
Some routing protocols use a router ID to identify a device. You can configure a global router ID, which
is used by routing protocols that have no router ID configured.
If no global router ID is configured, the highest loopback address, if any, is used as the router ID. If no
loopback address is available, the highest physical interface IP address is used, regardless of the
interface status. If no IP address is configured for any interface, the router ID is 0.0.0.0.
During an active/standby switchover, the standby main processing unit (MPU) checks whether the
previous router ID that is backed up before switchover is valid. If not, it selects a new router ID.
If the interface IP address that is selected as the router ID is removed or modified, a new router ID is
selected. The following events will not trigger a router ID re-selection:
• The interface goes down.
• After a physical interface address is selected as the router ID, an IP address is configured for a
loopback interface.
• A higher interface IP address is configured.
After a router ID is changed, use the reset command to make it effective.
Examples
# C o n f i g u r e a g l o b a l r o u t e r I D a s 1.1.1.1.
<Sysname> system-view
[Sysname] router id 1.1.1.1
Related commands
router-id
router-id (BGP view)
Use router-id to configure a router ID for BGP.
Use undo router-id to remove the router ID for BGP.
Syntax
router-id router-id
undo router-id
Default
BGP uses the global router ID configured by router id in system view.