R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
418
Examples
# Reset all the BGP connections of IPv4 unicast address family.
<Sysname> reset bgp ipv4 all
router id
Syntax
router id router-id
undo router id
View
System view
Default level
2: System level
Parameters
router-id: Router ID, in the form of a dotted decimal IPv4 address.
Description
Use router id to configure a global router ID.
Use undo router id to remove the global router ID.
By default, no global router ID is configured.
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.
NOTE:
• During an active/standby switchover, the standby main board checks whether the previous router ID tha
t
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
g
oes down; after a physical interface address is selected as the router ID, an
IP address is configured for a loopback interface; a hi
g
her interface IP address is confi
g
ured) 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
Syntax
router-id router-id
undo router-id