Switch 7700 Configuration Guide, v2

Configuring VRRP 265
Perform the following commands in system view.
By default, the ping function for the virtual IP address is disabled.
Setting the
Correspondence
between Virtual IP and
MAC Addresses
This operation sets the correspondence between the virtual IP address and the real
or virtual MAC address. In the standard VRRP protocol, the virtual IP address of the
backup group corresponds to the virtual MAC address, and guarantees correct
data forwarding in the sub-net.
Based on the chips installed, some switches support matching one IP address to
multiple MAC addresses. Switch 7700 switches also support choosing to match
the virtual IP address with the real MAC address or virtual MAC address of the
routing interface.
The following commands can be used to set correspondence between the IP
address and the MAC address.
Perform the following configuration in system view.
By default, the virtual IP address of the backup group corresponds to the virtual
MACA address.
YOu should set correspondence between the virtual IP address of the backup
group and the MAC address before configuring the backup group. Other wise,
you cannot configure the correspondence.
Adding and Deleting a
Virtual IP Address
The virtual-router-ID covers the range from 1 to 255. The virtual-address can be an
unused address in the network segment where the virtual router resides, or the IP
address of an interface in the virtual router. If the IP address is for the switch, it can
also be configured. In this case, the switch is called an IP address owner. When
adding the first IP address to a virtual router, the system creates a new virtual
router accordingly. When adding new address to this backup group thereafter, the
system adds it directly to the virtual IP address list.
After the last virtual IP address is removed from the virtual router, the whole virtual
router is also removed.
The following command is used for assigning an IP address of the local segment to
a virtual router or removing an assigned virtual IP address of a virtual router from
the virtual address list.
Table 1 Enable/disable the Ping Function
Operation Command
Enable pinging of the virtual IP address vrrp ping-enable
Disable pinging of the virtual IP address undo vrrp ping-enable
Table 2 Set the Correspondence Between Virtual IP and MAC Addresses
Operation Command
Set correspondence between the virtual IP
address and the MAC address
vrrp method { real-mac | virtual-mac }
Set the correspondence to the default value undo vrrp method