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

21
to access external networks because of the uplink failure. This problem can be solved through tracking a
specified uplink interface. After you configure to monitor the uplink interface, when the uplink interface
is down or removed, the priority of the master is automatically decreased by a specified value, allowing
a higher priority device in the VRRP group to become the master.
Before executing the command, create a VRRP group on an interface and configure the virtual IP address
of the VRRP group.
If no interface is specified, the undo vrrp vrid track interface command removes the association between
the VRRP group and any interface.
If you configure an interface to be tracked on a device that is the IP address owner in a VRRP group, the
configuration does not take effect. If the device is not the IP address owner in the VRRP group later, the
configuration takes effect.
When the status of the tracked interface turns from down or removed to up, the corresponding device
automatically restores its priority.
The interface specified in this command can be a Layer 3 Ethernet interface and a VLAN interface.
Examples
# On interface GigabitEthernet 0/1, set the interface to be tracked as GigabitEthernet 0/2, making the
priority of VRRP group 1 on interface GigabitEthernet 0/1 decrement by 50 when GigabitEthernet 0/2
is down or removed.
<Sysname> system-view
[Sysname] interface gigabitethernet0/1
[Sysname-GigabitEthernet0/1] vrrp vrid 1 virtual-ip 10.1.1.1
[Sysname-GigabitEthernet0/1] vrrp vrid 1 track interface gigabitethernet 0/2 reduced 50
Related commands
display vrrp
vrrp vrid track
vrrp vrid virtual-ip
Use vrrp vrid virtual-ip to create a VRRP group and configure a virtual IP address for it or add another
virtual IP address for an existing VRRP group.
Use undo vrrp vrid virtual-ip to remove an existing VRRP group or the virtual IP address of the VRRP
group.
Syntax
vrrp vrid virtual-router-id virtual-ip virtual-address
undo vrrp vrid virtual-router-id [ virtual-ip virtual-address ]
Default
No VRRP group is created.
Views
Interface view
Default command level
2: System level