Vrrp Vrid Track Interface - HP 7500 Series High Availability Command Reference

Hide thumbs Also See for 7500 Series:
Table of Contents

Advertisement

Parameters
virtual-router-id: Specifies a VRRP group number, which ranges from 1 to 255.
track track-entry-number: Specifies a track entry. The track-entry-number argument ranges from 1 to
1024.
reduced priority-reduced: Reduces the priority of the router in the VRRP group by a specific value when
the state of the specified track entry changes to the negative state. The priority-reduced argument ranges
from 1 to 255.
switchover: Enables the router in backup state to take over as the master immediately after the specified
track entry changes to the negative state.
Usage guidelines
Create the VRRP group and assign a virtual IP address to it before you can associate it with any
track entry.
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 configuration takes effect after the router changes 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
group. For more information about configuring track entries, see High Availability Configuration
Guide.
When the associated track entry changes to the negative state, the priority of the router in the VRRP
group decreases by a specified value, or the router immediately takes over as the master if it is a
backup router, depending on your configuration.
If reduced priority-reduced, and switchover are not specified, the priority of the router in the VRRP
group decreases by 10 when the track entry changes to negative.
When the track entry changes from negative to positive or invalid, the router automatically restores
its priority.
Examples
# Associate VRRP group 1 on VLAN-interface 2 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 vlan-interface 2
[Sysname-Vlan-interface2] vrrp vrid 1 virtual-ip 10.1.1.1
[Sysname-Vlan-interface2] vrrp vrid 1 track 1 reduced 50
Related commands
display vrrp

vrrp vrid track interface

vrrp vrid track interface
Use vrrp vrid track interface to configure tracking a specified interface.
Use undo vrrp vrid track interface to disable tracking a specified interface.
Syntax
vrrp vrid virtual-router-id track interface interface-type interface-number [ reduced priority-reduced ]
undo vrrp vrid virtual-router-id track [ interface interface-type interface-number ]
110

Advertisement

Table of Contents
loading

Table of Contents