Users Guide

For a virtual group, you can track the line-protocol state or the routing status of any of the following interfaces with the interface
interface parameter:
For a 1-GigabitEthernet interface, enter the keyword GigabitEthernet then the slot/port information.
For a 10-Gigabit Ethernet interface, enter the keyword TenGigabitEthernet then the slot/port information.
For a port channel interface, enter the keywords port-channel then a number.
For a VLAN interface, enter the keyword vlan then a number from 1 to 4094.
For a virtual group, you can also track the status of a congured object (the track object-id command) by entering its object
number.
NOTE: You can congure 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 dened and determined to be down.
In addition, if you congure a VRRP group on an interface that belongs to a VRF instance and later congure object tracking on an
interface for the VRRP group, the tracked interface must belong to the VRF instance.
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 congured 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 conguration 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 conguration 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 conguration of tracked objects in VRRP groups on a specied interface.
EXEC mode or EXEC Privilege mode
show running-config interface interface
Examples of Conguring and Viewing the track Command
The following example shows how to congure tracking using the track command.
Dell(conf-if-gi-1/1)#vrrp-group 111
Dell(conf-if-gi-1/1-vrid-111)#track gigabitethernet 1/2
The following example shows how to verify tracking using the show conf command.
Dell(conf-if-gi-1/1-vrid-111)#show conf
!
vrrp-group 111
advertise-interval 10
Virtual Router Redundancy Protocol (VRRP)
895