1082 CHAPTER 87: VRRP CONFIGURATION
IP address. In this case, you can associate the virtual IP address of the standby 
group with the real MAC address, so that the packets from a host are forwarded 
to the IP address owner according the real MAC address.
Follow these steps to configure the association between MAC address and virtual 
IP address:
c
CAUTION: You should configure this function before creating a standby group. 
Otherwise, you cannot modify the mapping between the virtual IP address and the 
MAC address.
Creating Standby Group
and Configuring Virtual
IP Address
You need to configure a virtual IP address for a standby group when creating the 
standby group. A VRRP standby group is created automatically when you specify 
the first virtual IP address for the standby group. If you specify a virtual IP address 
for the standby group later, the virtual IP address is only added to the virtual IP 
address list of the VRRP standby group.
Configuration prerequisites
Before creating standby group and configuring virtual IP address, you should first 
configure the IP address of the interface and ensure that the virtual IP address to 
be configured is in the same network segment as the IP address of the interface.
Configuration procedure
Follow these steps to create standby group and configure virtual IP address:
c
CAUTION:
■ The maximum number of standby groups on an interface and the maximum 
number of virtual IP addresses in a standby group vary by device.
■ A standby group is removed after you remove all the virtual IP addresses in it. In 
addition, configurations on that standby group no longer take effect.
■ The virtual IP address of the virtual router can be either an unused IP address 
on the segment where the standby group resides or the IP address of an 
interface on a switch in the standby group. In the latter case, the switch is 
called the IP address owner.
To do…  Use the command…  Remarks 
Enter system view  system-view - 
Configure the association 
between virtual IP address and 
MAC address 
vrrp method { real-mac | 
virtual-mac } 
Optional
The virtual MAC address is 
associated with the virtual IP 
address by default.
To do…  Use the command…  Remarks 
Enter system view  system-view - 
Enter the specified interface 
view 
interface interface-type 
interface-number 
- 
Create standby group and 
configure virtual IP address of 
the standby group 
vrrp vrid virtual-router-id 
virtual-ip virtual-address 
Required
Standup group is not created 
by default.