Task
Specifying an IPv4 VRRP operating mode
Specifying the IPv4 VRRP version
Specifying the type of MAC addresses mapped to
virtual IP addresses
Creating a VRRP group and assigning a virtual IP
address
Configuring router priority, preemptive mode, and
tracking function
Configuring VF tracking
Configuring IPv4 VRRP packet attributes
Enabling the trap function for VRRP
Specifying an IPv4 VRRP operating mode
A VRRP group operates in one of the following modes:
•
Standard mode—Only the master can forward packets.
Load balancing mode—All members that have an AVF can forward packets.
•
After the VRRP working mode is specified on a router, all VRRP groups on the router operate in the
specified working mode.
To configure the VRRP working mode:
Step
1.
Enter system view.
2.
Configure the VRRP
operating mode.
Specifying the IPv4 VRRP version
This configuration does not apply to VRRP load balancing mode.
The VRRP version on all routers in a VRRP group must be the same.
To specify the version of VRRP:
Step
1.
Enter system view.
Command
system-view
•
Configure VRRP to operate in
standard mode:
undo vrrp mode
•
Configure VRRP to operate in
load balancing mode:
vrrp mode load-balance
Command
system-view
66
Remarks
Optional.
Optional.
Optional.
This configuration does not apply to VRRP load
balancing mode.
Required.
Optional.
Optional.
The VF tracking function is effective only when VRRP
operates in load balancing mode.
Optional.
Optional.
Remarks
N/A
Use either command.
By default, VRRP operates in standard
mode.
Remarks
N/A