HP MSR2000/3000/4000 Router Series High Availability Command Reference

22
IMPORTANT:
The vrrp vrid track command cannot take effect on an IP address owner. If you have configured the
command on an IP address owner, the confi
uration takes effect after the router chan
es to be a non IP
address owner.
You can create a track entry with the track command before or after you associate it with a VRRP
g
roup.
For more information about configuring track entries, see
High Availability Configuration Guide
.
Examples
# Associate VRRP group 1 on Ethernet 1/1 with track entry 1 and decrease the priority of the router in
the VRRP group by 50 when the state of track entry 1 changes to negative.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] vrrp vrid 1 track 1 reduced 50
Related commands
display vrrp
vrrp vrid
Use vrrp vrid to create an IPv4 VRRP group and assign a virtual IP address to the IPv4 VRRP group or
assign a virtual IP address to an existing IPv4 VRRP group.
Use undo vrrp vrid to remove all configurations of an existing IPv4 VRRP group or to remove a virtual IP
address from an existing IPv4 VRRP group.
Syntax
vrrp vrid virtual-router-id virtual-ip virtual-address
undo vrrp vrid virtual-router-id [ virtual-ip [ virtual-address ] ]
Default
No IPv4 VRRP group is created.
Views
Interface view
Predefined user roles
network-admin
Parameters
virtual-router-id: Specifies an IPv4 VRRP group by its virtual router ID in the range of 1 to 255.
virtual-ip virtual-address: Specifies a virtual IP address, which cannot be an all-zero address (0.0.0.0);
a broadcast address (255.255.255.255); a loopback address; an IP address of other than Class A,
Class B, and Class C; or an invalid IP address (for example, 0.0.0.1). If this argument is not specified, the
undo vrrp vrid command removes all virtual IP addresses from the existing IPv4 VRRP group.
Usage guidelines
You can assign up to 16 virtual IP addresses to an IPv4 VRRP group.
If you create an IPv4 VRRP group but do not assign any virtual IP address to it, the VRRP group stays in
inactive state and does not function.