R3204P16-HP Load Balancing Module High Availability Command Reference-6PW101

20
The system removes a VRRP group after you delete all the virtual IP addresses in it.
The virtual IP address of the VRRP group cannot be 0.0.0.0, 255.255.255.255, loopback address, non
A/B/C address and other illegal IP addresses such as 0.0.0.1.
Only when the configured virtual IP address and the interface IP address belong to the same segment
and are legal host addresses can the VRRP group operate normally. If they are not in the same network
segment, or the configured IP address is the network address or network broadcast address of the
network segment that the interface IP address belongs to, though you can perform the configuration
successfully, the state of the VRRP group is always Initialize, that is, VRRP does not take effect in this case.
Related commands: display vrrp.
Examples
# Create VRRP group 1 and set its virtual IP address to 10.10.10.10.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 0/0.1
[Sysname-Ten-GigabitEthernet0/0.1] vrrp vrid 1 virtual-ip 10.10.10.10
# Add virtual IP address 10.10.10.11 to VRRP group 1.
[Sysname-Ten-GigabitEthernet0/0.1] vrrp vrid 1 virtual-ip 10.10.10.11
vrrp vrid weight track
Syntax
vrrp vrid virtual-router-id weight track track-entry-number [ reduced weight-reduced ]
undo vrrp vrid virtual-router-id weight track [ track-entry-number ]
View
Interface view
Default level
2: System level
Parameters
virtual-router-id: VRRP group number, which ranges from 1 to 255.
track track-entry-number: Specifies a track entry to be monitored by its number. track-entry-number
ranges from 1 to 1024.
reduced weight-reduced: Specifies the value by which the weight decreases. priority-reduced ranges
from 1 to 255 and defaults to 30.
Description
Use the vrrp vrid weight track command to specify the track entry to be monitored by VFs when VRRP
works in the load balancing mode. If the status of the monitored track entry changes to negative, the
weights of all VFs decrease by a specified value.
Use the undo vrrp vrid weight track command to cancel the specified track entry.
By default, no track entry is specified to be monitored.
The execution of this command is effective only when VRRP works in the load balancing mode.
Before executing the command, create a VRRP group on an interface and configure the virtual IP address
of the VRRP group.