NOTE: You can configure a tracked object for a VRRP group (using the track object-id
command in INTERFACE-VRID mode) before you actually create the tracked object (using a track
object-id command in CONFIGURATION mode). However, no changes in the VRRP group’s
priority occur until the tracked object is defined and determined to be down.
Tracking an Interface
To track an interface, use the following commands.
NOTE: The sum of all the costs for all tracked interfaces must be less than the configured priority of
the VRRP group.
Monitor an interface and, optionally, set a value to be subtracted from the interface’s VRRP group
priority.
INTERFACE-VRID mode
track interface [priority-cost cost]
The cost range is from 1 to 254.
The default is 10.
(Optional) Display the configuration and the UP or DOWN state of tracked objects, including the client
(VRRP group) that is tracking an object’s state.
EXEC mode or EXEC Privilege mode
show track
(Optional) Display the configuration and the UP or DOWN state of tracked interfaces and objects in
VRRP groups, including the time since the last change in an object’s state.
EXEC mode or EXEC Privilege mode
show vrrp
(Optional) Display the configuration of tracked objects in VRRP groups on a specified interface.
EXEC mode or EXEC Privilege mode
show running-config interface interface
Example of the track Command
Example of Verifying the Tracking Configuration
Example of Viewing Tracking Status
Example of Viewing VRRP Configuration on an Interface
Dell(conf-if-te-1/1)#vrrp-group 111
Dell(conf-if-te-1/1-vrid-111)#track tengigabitethernet 1/2
Dell(conf-if-te-1/1-vrid-111)#
Dell(conf-if-te-1/1-vrid-111)#show conf
!
vrrp-group 111
advertise-interval 10
authentication-type simple 7 387a7f2df5969da4
no preempt
priority 255
track Tengigabitethernet 1/2
virtual-address 10.10.10.1
1018 Virtual Router Redundancy Protocol (VRRP)