Virtual Router Redundancy Protocol Commands
5-196 Configuring the Internet Protocol

vrrp <group> track

ThiscommandallowsaVirtualRouter(VR)totrackanotherinterface(FastEthernet,Serial,Dialer
orMultilinkPPP)oroneormoeroutesonthesamerouter.
WheninterfaceAisconfiguredtotrackinterfaceB,interfaceAwillmonitorthestatusofinterface
BtodecideifitwantstobecomethemasterofaVR.WheninterfaceBgoesdown,itwilllowerits
priorityto0(zero)andrefrainfromparticipatingintheVRmasterselection.butwillcontinueto
monitorinterfaceB.WheninterfaceBcomesup,interfaceAwillincreaseitsVRprioritybackto
theoriginalvalue.IfinterfaceAisoriginallyconfiguredasabackupVR,nopreemptionwill
occur,butinterfaceAwillresumebeingthebackupVR.
Thiscommandshouldbeusedontheinterfacethatismostlikelytobeselectedasmasterofthe
correspondingVR.IftheinterfaceisconfiguredasabackupVR,thecommandhasnoeffect.
Whenyouconfigurewatchlisttracking,ifallroutesfail,theVRwillloweritspriorityto0and
whenatleastoneoftheroutescomeup,theVRwillreturntoitsoriginalpriority.When
specifyingawatchgroup,beawarethatyoucanusetheassociated dialer watch-list
command.
Syntax of the “no” Form
vrrp <group> track <interface-type> watch-group watch-list-number
Syntax of the “no” Form
Thenoformofthiscommanddisablesthefunctionality:
no vrrp group track
Defaults
•Nointerfacetracking.
•Ifnogroupisprovided,thedefaultgroupis1.
Mode
Interfaceconfiguration:XSR(config-if<xx>)#
Example
ThisexampleenablesthetrackingofinterfaceSerial1/0byinterfaceF1onVR2:
Notes: This command should be used on the interface most likely to be chosen master of the
corresponding VR. The command has no effect if the interface is configured as a backup VR.
The XSR supports one track interface per VR only, so every time it is configured, the router will
overwrite the previous one.
Caution: When you configure the track interface, the VR IP address you specify must be different
than the physical IP address of the interface otherwise client ARP tables will not be correctly
updated.
group VRgroupnumber,rangingfrom1to255.
interface-type Nameandnumberoftheinterfacetomonitor.
watch-list-number NumberoftheDialerwatchlisttomonitor,rangingfrom1to255.