Allows you to specify a VLAN or range of VLANs that will be tracked by this virtual router. If the VLAN is down, or
if the VLAN or IP address has been deleted, the virtual router switches to the router specified by the priority value.
The command is executed in VRID instance context.
Example:
switch(config)# vlan 25
switch(vlan-25)# vrid 1
switch(vlan-25-vrid-1)# track vlan 10 24-26
NOTE:
When the first tracked port or tracked VLAN comes up after being down, the VR waits for the pre-
empt delay time before it tries to take control back. The VR resumes being a backup with its
configured priority as soon as the first tracked entity is up.
The behavior of the VR is not affected by any tracked entities until after the expiration of the preempt
delay time. However, if while waiting for the preempt delay time to expire, a master goes down, the
VR tries to take control of the virtual IP.
Removing all tracked entities
Syntax:
no track
Allows you to remove tracking for all configured track entities (ports, trunks, and VLANs.) The command is
executed in VRID instance context.
Example:
switch(vlan-25-vrid-1)# no track
Viewing VRRP tracked entities
You can display the VRRP tracked entities by entering the command shown in this example.
Example showing results of
show vrrp tracked entities
command
switch(vlan-25-vrid-1)# show vrrp tracked-entities
VRRP Tracked entities
VLAN ID VR ID Type ID
---------- ---------- ---------- ------------------
25 1 port 7
25 1 port 12
25 1 port 13
25 1 port 14
25 1 vlan 1
Forcing the backup VR operating as master to relinquish
ownership of the VR instance
Syntax:
failover [with-monitoring]
Chapter 16 Virtual Router Redundancy Protocol (VRRP)
321