R3303-HP HSR6800 Routers High Availability Command Reference

162
or the configured IP address is the network address or network broadcast address of the network
segment to which the interface IP address belongs, though you can perform the configuration successfully,
the state of the VRRP group is always Initialize, which means VRRP does not take effect .
Examples
# Create VRRP group 1 and set its virtual IP address to 10.10.10.10.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] vrrp vrid 1 virtual-ip 10.10.10.10
# Add virtual IP address 10.10.10.11 to VRRP group 1.
[Sysname-GigabitEthernet1/0/1] vrrp vrid 1 virtual-ip 10.10.10.11
Related commands
display vrrp
vrrp vrid weight track
Use vrrp vrid weight track to specify the track entry to be monitored by VFs when VRRP operates in load
balancing mode. If the status of the monitored track entry changes to negative, the weights of all VFs in
the VRRP group to which the current router belongs decrease by a specified value.
Use undo vrrp vrid weight track to remove the specified track entry.
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 ]
Default
No track entry is specified to be monitored.
Views
Interface view
Default command level
2: System level
Parameters
virtual-router-id: VRRP group number in the range of 1 to 255.
track track-entry-number: Specifies a track entry to be monitored by its number, in the range of 1 to 1024.
reduced weight-reduced: Specifies the value by which the weight decreases, in the range of 1 to 255.
The default setting is 30.
Usage guidelines
The command is effective only when VRRP operates in load balancing mode.
Before executing the command, create a VRRP group on an interface and configure the virtual IP address
of the VRRP group.
When the status of the monitored track entry turns from negative to positive or invalid, the corresponding
VFs automatically restore their weights.