126
Configuring IPv4 VRRP
This section describes how to configure IPv4 VRRP.
IPv4 VRRP configuration task list
Tasks at a glance Remarks
(Required.) Specifying an IPv4 VRRP operating mode N/A
(Optional.) Specifying the IPv4 VRRP version N/A
(Required.) Creating a VRRP group and assigning a virtual IP address N/A
(Optional.) Configuring the router priority, preemptive mode, and
tracking function
N/A
(Optional.) Configuring IPv4 VRRP packet attributes N/A
(Optional.) Configuring VF tracking
This configuration applies only to
VRRP load balancing mode.
(Optional.) Enabling SNMP notifications for VRRP N/A
(Optional.) Disabling an IPv4 VRRP group N/A
Specifying an IPv4 VRRP operating mode
A VRRP group can operate in either 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 an IPv4 VRRP operating mode is configured on a router, all IPv4 VRRP groups on the router
operate in the specified operating mode.
To specify an IPv4 VRRP operating mode:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Specify an IPv4 VRRP
operating mode.
• Specify the standard mode:
undo vrrp mode
• Specify the load balancing
mode:
vrrp mode load-balance
[ version-8 ]
By default, VRRP operates in
standard mode.
Specifying the IPv4 VRRP version
The VRRP version on all routers in an IPv4 VRRP group must be the same.
To specify the version of IPv4 VRRP:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter interface view.
interface
interface-type interface-number N/A