Reference Guide

Table Of Contents
The lowered priority of the VRRP group may trigger an election. As the Master/Backup VRRP routers are selected based on
the VRRP groups priority, tracking features ensure that the best VRRP router is the Master for that group. The priority cost of
tracking group must be less than the configured priority on the VRRP group. If the VRRP group is configured as Owner router
(priority 255), tracking for that group is disabled, regardless of the state of the tracked interfaces. The priority of the Owner
group always remains at 255.
For a virtual group, track the line-protocol state or the routing status of any interface with the interface command. Enter an
interface type and node/slot/port[:subport] information, or VLAN number:
ethernet Physical interface (1 to 48)
vlan VLAN interface (1 to 4093)
For a virtual group, track the status of a configured object with the track command and use the object number. You can also
configure a tracked object for a VRRP group with this command before you create the tracked object. No changes in the VRRP
groups priority occur until the tracked object is defined and determined to be down.
Configure tracking
To track the objects in a VRRP group or on interfaces, use the following commands. The sum of all the costs for all tracked
interfaces must be less than the configured priority of the VRRP group.
1. Assign an object tracking unique ID number in CONFIGURATION mode (1 to 500).
track track-id
2. Monitor an interface and set a value to subtract from the interfaces VRRP group priority in Track CONFIGURATION mode.
interface ethernet node/slot/port[:subport]
3. (Optional) View the configuration of tracked objects in VRRP groups on a specified interface in Track CONFIGURATION
mode.
do show running-config interface interface
Configure interface tracking
OS10(config)# track 10
OS10(conf-track-10)# interface ethernet 1/1/5
View running configuration
OS10(conf-track-10)# do show running-configuration
! Version 10.1.9999P.2281
! Last configuration change at Jul 27 03:24:01 2016
!
aaa authentication system:local
!
interface ethernet1/1/1
ip address 10.1.1.1/16
no switchport
no shutdown
!
vrrp-group 1
priority 200
virtual-address 10.1.1.1
!
interface ethernet1/1/2
switchport access vlan 1
no shutdown
!
interface ethernet1/1/3
switchport access vlan 1
no shutdown
!
interface ethernet1/1/4
switchport access vlan 1
no shutdown
!
452
Layer 3