R2511-HP MSR Router Series High Availability Command Reference(V5)

40
Related commands
reset vrrp statistics
reset vrrp statistics
Use reset vrrp statistics to clear VRRP group statistics.
Syntax
reset vrrp statistics [ interface interface-type interface-number [ vrid virtual-router-id ] ]
Views
User view
Default command level
1: Monitor level
Parameters
interface interface-type interface-number: Clears VRRP group statistics of a specified interface.
interface-type interface-number specifies an interface by its type and number.
vrid virtual-router-id: Clears VRRP statistics of the specified VRRP group. The virtual-router-id argument
specifies a VRRP group by its group number in the range of 1 to 255.
Usage guidelines
If you specify both an interface and a VRRP group, the statistics about the specified VRRP group on the
specified interface are cleared. If you specify only the interface, the statistics about all the VRRP groups
on the interface are cleared. If you specify neither, the statistics about all the VRRP groups on the router
are cleared.
Examples
# Clear the statistics about all the VRRP groups on the router.
<Sysname> reset vrrp statistics
Related commands
display vrrp statistics
vrrp method
Use vrrp method to specify the type of the MAC addresses mapped to the virtual IP addresses of the
VRRP groups.
Use undo vrrp method to restore the default.
Syntax
vrrp method { real-mac | virtual-mac }
undo vrrp method
Default
The virtual MAC addresses are mapped to the virtual IP addresses of the VRRP groups.
Views
System view