R3303-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference

293
Default
No global router ID is configured.
Views
System view
Default command level
2: System level
Parameters
router-id: Router ID, in the form of a dotted decimal IPv4 address.
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 interface IP address, if any, is used as the router
ID. If no loopback interface IP address is available, the highest physical interface IP address is used,
regardless of the interface status.
During an active/standby switchover, the standby main board 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 whose IP address is the router ID is removed or modified, a new router ID is selected.
Other events, (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) will not
trigger a router ID re-selection.
Examples
# Configure a global router ID.
<Sysname> system-view
[Sysname] router id 1.1.1.1
router-id (BGP view)
Use router-id to specify a router ID.
Use undo router-id to remove the router ID.
Syntax
router-id router-id
undo router-id
Default
A BGP router uses the global router ID. You can execute the router id command in system view to
configure the global router ID.
Views
BGP view
Default command level
2: System level