R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
366
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, 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 ] { protocol | all }
View
User view
Default level
2: System level
Parameters
vpn-instance-name: VPN instance name, a string of 1 to 31 case-sensitive characters.
protocol: Clears statistics for the IPv4 routing protocol, which can be bgp, direct, ospf, rip, or static.
all: Clears statistics for all IPv4 routing protocols.
Description
Use the reset ip routing-table statistics protocol command to clear routing statistics for the routing table
or VPN routing table.
Examples
# Clear routing statistics for the VPN instance Sysname1.
<Sysname> reset ip routing-table statistics protocol vpn-instance Sysname1 all