Administrator Guide

1 Gigabit Ethernet: enter gigabitethernet slot/port in the track interface command (shown in
the following example).
10 Gigabit Ethernet: enter tengigabitethernet slot/port.
Port channel: enter port-channel number.
SONET: enter sonet slot/port.
VLAN: enter vlan vlan-id.
The valid VLAN IDs are from 1 to 4094.
For a virtual group, you can also track the status of a configured object (the track object-id
command) by entering its object number.
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.
In addition, if you configure a VRRP group on an interface that belongs to a VRF instance and later
configure 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 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
Virtual Router Redundancy Protocol (VRRP)
895