F3215-HP Load Balancing Module High Availability Command Reference-6PW101
22
Parameters
virtual-router-id: VRRP group number, which ranges from 1 to 255.
virtual-address: Virtual IP address.
Usage guidelines
The system removes a VRRP group after you delete all the virtual IP addresses in it.
The virtual IP address of a 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.
A VRRP group operates properly only when the configured virtual IP address and the interface IP address
belong to the same segment and are legal host addresses. 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 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 gigabitethernet0/1
[Sysname-GigabitEthernet0/1] vrrp vrid 1 virtual-ip 10.10.10.10
# Add virtual IP address 10.10.10.11 to VRRP group 1.
[Sysname-GigabitEthernet0/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 device 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, which ranges from 1 to 255.
track track-entry-number: Specifies a track entry to be monitored by its number, in the range of 1 to 1024.