R3166-R3206-HP High-End Firewalls High Availability Configuration Guide-6PW101
16
Task Remarks
Specifying the VRRP control VLAN Optional
Creating a VRRP group and configuring virtual IP
address
Required
Configuring router priority, preemptive mode and
tracking function
Optional
Configuring VF tracking
Optional
The VF tracking function is effective only when VRRP
works in load balancing mode.
Configuring VRRP packet attributes Optional
Enabling the trap function for VRRP Optional
Configuring a VRRP working mode
VRRP can work in either of the following modes:
• Standard protocol mode—When VRRP works in this mode, only the master in a VRRP group is
responsible for forwarding packets.
• Load balancing mode—When VRRP works in this mode, all the routers (master and backups) that
have the AVF in a VRRP group can forward packets, thus implementing load balancing.
After the VRRP working mode is specified on a router, all VRRP groups on the router work in the specified
working mode.
Follow these steps to configure a VRRP working mode:
To do… Use the command…
Remarks
Enter system view system-view
—
Configure VRRP to work
in standard protocol
mode
undo vrrp mode
Required
Use either command.
By default, VRRP works in standard protocol mode.
Configure VRRP to work
in load balancing mode
vrrp mode load-balance
Specifying the type of MAC addresses mapped to virtual IP
addresses
After you specify the type of MAC addresses mapped to the virtual IP addresses of VRRP groups and
create a VRRP group, the master in the VRRP group uses the specified type of MAC address as the source
MAC address for sending packets and uses the specified type of MAC address to answer ARP requests
from hosts so that the hosts in the internal network can learn the mapping between the IP address and the
MAC address.
The following types of MAC addresses are available to be mapped to the virtual IP address of a VRRP
group:
• Virtual MAC address—By default, a virtual MAC address is automatically created for a VRRP group
when the VRRP group is created, and the virtual IP address of the VRRP group is mapped to the