R3204P16-HP Load Balancing Module High Availability Command Reference-6PW101
1
VRRP configuration commands
NOTE:
The term router in this document refers to a LB module that runs the VRRP protocol.
vrrp mode
Syntax
vrrp mode load-balance
undo vrrp mode
View
System view
Default level
2: System level
Parameters
load-balance: Specifies VRRP to work in the load balancing mode.
Description
Use the vrrp mode command to configure the working mode of VRRP.
Use the undo vrrp mode command to restore the default.
By default, VRRP works in the standard protocol mode.
After you configure the working mode of VRRP by using this command, VRRP groups work in the
specified mode.
When VRRP works 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 associated with the virtual MAC
address. Otherwise, VRRP cannot work in the load balancing mode.
After a VRRP group is created, you can still modify the VRRP working mode. If you modify the working
mode of VRRP, all VRRP groups on the LB module work in the specified mode.
Related commands: display vrrp.
Examples
# Configure VRRP to work in load balancing mode.
<Sysname> system-view
[Sysname] vrrp mode load-balance
display vrrp
Syntax
display vrrp [ verbose ] [ interface interface-type interface-number [ vrid virtual-router-id ] ]