vrrp mode
Syntax
vrrp mode load-balance
undo vrrp mode
View
System view
Default level
2: System level
Parameters
load-balance: Specifies the load balancing mode.
Description
Use vrrp mode to configure the VRRP working mode.
Use undo vrrp mode to restore the default.
By default, VRRP operates in standard protocol mode.
When you configure the working mode of VRRP by using this command, both IPv4-based and IPv6-based VRRP groups operate in the specified mode.
When VRRP operates in load balancing mode, the virtual IP address cannot be the same as the IP address of any interface in the VRRP group, and the virtual IP address should be mapped to the virtual MAC address. Otherwise, VRRP cannot operate in load balancing mode.
When a VRRP group is created, you can still change the VRRP working mode. When you change the VRRP working mode, all VRRP groups on the router operate in the specified mode.
Related commands: display vrrp and display vrrp ipv6.
Examples
# Configure VRRP to operate in load balancing mode.
<Sysname> system-view [Sysname] vrrp mode load-balance