1-12
The VLAN interface tracking function extends the use of the backup function. With this function enabled
on a switch, the backup function can take effect not only when the VLAN interface where a VRRP group
resides fails, but also when some other VLAN interfaces on the switch fail. You can utilize the VLAN
interface tracking function by specifying monitored VLAN interfaces.
When the tracked VLAN interface on the master of a VRRP group is down, the priority of the master
decreases by the value set by the
value-reduced
argument, allowing a switch with the highest priority in
the VRRP group becomes the master.
z
If an IP address owner exists in a VRRP group, do not configure the interface tracking function on
the IP address owner. If configured, the function cannot take effect.
z
A VRRP group can track up to eight VLAN interfaces simultaneously.
Examples
# On VLAN-interface 2, configure to track VLAN-interface 1 and configure the priority of the master of
VRRP group 1 (on VLAN-interface 2) to decrease by 50 when VLAN-interface 1 goes down.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Vlan-interface 2
[Sysname-Vlan-interface2] vrrp vrid 1 track interface vlan-interface 1 reduced 50
vrrp vrid track detect-group
Syntax
vrrp vrid virtual-router-id track detect-group group-number
[
reduced value-reduced
]
undo
vrrp vrid virtual-router-id track detect-group group-number
View
VLAN interface view
Parameters
virtual-router-id
: Virtual VRRP group ID, ranging from 1 to 255.
group-number
: Detected group number, ranging from 1 to 25.
value-reduced
: Value by which the priority decreases. This argument ranges from 1 to 255 and defaults
to 10.
Description
Use the
vrrp vrid track detect-group
command to enable the auto detect function when employing
VRRP.
Use the
undo vrrp vrid track detect-group
command to disable the auto detect implementation in
VRRP.