393
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
track ip route
track ip route
To configure object tracking on an IP route, use the track ip route command. To remove the object
tracking for this route, use the no form of this command.
track object-id ip route ip-prefix/length reachability
no track object-id [force]
Syntax Description
Command Default None
Command Modes Global configuration mode
Command History
Usage Guidelines Use the vrf member command in object tracking configuration mode to track objects in a nondefault
VRF.
This command does not require a license.
Examples This example shows how to track an IP route:
switch# configure terminal
switch(config)# track 1 ip route 10.10.10.0/8 reachability
switch(config-track)#
Related Commands
object-id Tracking ID. The range can be from 1 to 500.
ip-prefix/length Prefix of route to track. The IP prefix is in dotted decimal format (X.X.X.X).
The length can be from 1 to 32.
reachability Tracks the reachability state of an IP route.
force (Optional) Completely removes the object tracking instance.
Release Modification
5.0(3)A1(1) This command was introduced.
Command Description
show track Displays information about object tracking.
track interface Tracks an interface.
vrf member Tracks an object in a nondefault VRF.