3com 5500-ei pwr Reference Guide

Page of 1314
 
1-5 
Description 
Use the reset vrrp statistics command to clear the VRRP statistics information. 
When you execute this command, 
If neither a VLAN interface nor a VRRP group is specified, the statistics information about all the 
VRRP groups on the switch is cleared. 
If only a VLAN interface is specified, the statistics information about all the VRRP groups on the 
specified VLAN interface is cleared. 
If both a VLAN interface and a VRRP group are specified, the statistics information about the 
specified VRRP group on the specified VLAN interface is cleared. 
You can view the current VRRP statistics by using the display vrrp statistics command. 
Related commands: display vrrp statistics 
Examples 
# Clear the VRRP statistics information about all the interfaces on the switch. 
<Sysname> reset vrrp statistics 
vrrp method 
Syntax 
vrrp method { real-mac | virtual-mac } 
undo vrrp method 
View 
System view 
Parameters 
real-mac: Maps the real MAC address of the switch to the virtual IP address of the VRRP group. 
virtual-mac: Maps the virtual MAC address of the VRRP group to the virtual IP address of the VRRP 
group. 
Description 
Use the vrrp method command to configure the MAC-Virtual IP address mapping for VRRP groups. 
You can configure to map the real MAC address of the switch to the virtual IP address of a VRRP group 
or configure to map the virtual MAC address of a VRRP group to the virtual IP address of the VRRP 
group. 
Use the undo vrrp method command to restore the default. 
By default, the virtual MAC address of a VRRP group is mapped to the virtual IP address of the VRRP 
group. 
Note that the mapping relationship between the MAC address and the virtual IP address must be 
configured before any VRRP group is created. If a VRRP group already exists on the switch, you are not 
allowed to modify the mapping relationship. 
Examples 
# Map the MAC address of a VLAN interface to the virtual IP address of the VRRP group.