3com S7906E Guide De Référence

Page de 2327
 
1-24 
router id 
Syntax 
router id router-id 
undo router id 
View 
System view 
Default Level 
2: System level 
Parameters 
router-id: Router ID, expressed as an IPv4 address. 
Description 
Use the router id command to configure a router ID. 
Use the undo router id command to remove the router ID.  
By default, no router ID is configured. 
Some routing protocols use a router ID to identify a routing device. A route ID is selected in the following 
sequence: 
Select the router ID configured with the router id command; 
Select the highest IP address among loopback interfaces as the router ID: 
If no loopback interface IP address is available, the highest IP address among physical interfaces 
is selected as the router ID (regardless of the interface state). 
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’s IP 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. 
A VPN instance selects a router ID among interfaces belonging to it according to the preceding 
procedure. 
When a master/backup switchover occurs, the backup device selects a router ID according to the 
preceding procedure.  
After a router ID is changed, you need to use the reset command to make it effective. 
Examples 
# Configure a router ID. 
<Sysname> system-view 
[Sysname] router id 1.1.1.1 
reset ip routing-table statistics protocol 
Syntax 
reset ip routing-table statistics protocol vpn-instance vpn-instance-name ] { all | protocol }