priority of the router is decreased by 10 (default priority decrement) for each downed route. By
default no routes are tracked. If we specify just the route to be tracked without giving the
priority which is optional then the default priority will be set.
Use the "no" form of this command to remove the route from the tracked list or to restore the
priority decrement to its default. When removing a tracked ip route from the tracked list,
priority should be incremented by the decrement value if the route is not reachable.
Syntax
ip-address/prefix-length
priority
ip vrrp vrid track ip route
[ decrement
]
vrid
—Virtual router identification (Range: 1–255).
ip-address/prefix-length
—Specifies the route to be tracked.
priority
—Priority decrement value for the tracked route (Range: 1–254).
Default Configuration
There are no routes tracked by default.
The default decrement priority is 10.
Command Mode
Interface Configuration (VLAN) mode.
User Guidelines
There are no user guidelines for this command.
Example
The following example adds the route 2.2.2.0/24 to the virtual router tracked list (with a priority
decrement value of 20).
console(config-if-vlan10)#ip vrrp 1 track ip route 2.2.2.0/24
decrement 20
show ip vrrp
Use the show ip vrrp command in Privileged EXEC mode to display whether VRRP
functionality is enabled or disabled on the switch. The command also displays some global
parameters which are required for monitoring.
Syntax
show ip vrrp
870
Virtual Router Redundancy Protocol Commands