Vrrp Vrid Weight Track - HP 6125XLG Command Reference Manual

Blade switch high availability command reference
Table of Contents

Advertisement

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).
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.
The virtual IP addresses of an IPv4 VRRP group must be in the same subnet as one of the IP addresses of
the interface where the VRRP group is configured. Otherwise, the hosts in the subnet cannot access
external networks.
In load balancing mode, the virtual IP address of an IPv4 VRRP group cannot be the same as the IP
address of any interface in the VRRP group. Otherwise, the load balancing mode cannot operate.
Examples
# Create IPv4 VRRP group 1 and assign virtual IP address 10.10.10.10 to the VRRP group. Then assign
virtual IP address 10.10.10.1 1 to the VRRP group.
<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] vrrp vrid 1 virtual-ip 10.10.10.10
[Sysname-Vlan-interface2] vrrp vrid 1 virtual-ip 10.10.10.11
Related commands
display vrrp

vrrp vrid weight track

Use vrrp vrid weight track to configure the VFs in an IPv4 VRRP group to monitor a track entry in load
balancing mode. When the state of the track entry transits to Negative, the weight values of all VFs in the
VRRP group on the router decrease by a specific value.
Use undo vrrp vrid weight track to remove the association between the VFs in an IPv4 VRRP group and
a 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
The VFs of an IPv4 VRRP group are not associated with any track entry.
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.
80

Advertisement

Table of Contents
loading

Table of Contents