Send document comments to nexus7k-docfeedback@cisco.com.
21-13
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 21      Configuring Object Tracking
Configuring Object Tracking
4. show track [object-id]
5. copy running-config startup-config
DETAILED STEPS
This example shows how to configure object tracking for a route and use VRF Red to look up 
reachability information for this object:
switch# config t
switch(config)# track 2 ip route 209.165.201.0/8 reachability
switch(config-track)# vrf member Red
switch(config-track)# copy running-config startup-config
This example shows how to modify tracked object 2 to use VRF Blue instead of VRF RED to look up 
reachability information for this object:
switch# config t
switch(config)# track
 
2
switch(config-track)# vrf member Blue
switch(config-track)# copy running-config startup-config
Command Purpose
Step 1
config t
Example:
switch# config t
switch(config)#
Enters configuration mode.
Step 2
track
 object-id
 {ip | ipv6} route 
prefix/length 
reachability 
Example:
switch(config)# track 2 ip route 
192.0.2.0/8 reachability
switch(config-track)#
Creates a tracked object for a route and enters tracking 
configuration mode. The object-id range is from 1 to 
500. The prefix format for IP is A.B.C.D/length, where 
the length range is from 1 to 32. The prefix format for 
IPv6 is A:B::C:D/length, where the length range is 
from 1 to 128. 
Step 3
vrf member 
vrf-name
Example:
switch(config-track)# vrf member Red
Configures the VRF to use for tracking the configured 
object.
Step 4
show track
 
[
object-id
]
Example:
switch(config-track)# show track 3
(Optional) Displays object tracking information.
Step 5
copy running-config startup-config
Example:
switch(config-track)# copy 
running-config startup-config
(Optional) Saves this configuration change.