Specifications
Send document comments to nexus3k-docfeedback@cisco.com.
16-12
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, Release 5.0(3)U2(2)
OL-25782-02
Chapter 16 Configuring Object Tracking
Configuring Object Tracking
Configuring Object Tracking for a Nondefault VRF
You can configure Cisco NX-OS to track an object in a specific VRF.
SUMMARY STEPS
1. configure terminal
2. track object-id ip route prefix/length reachability
3. vrf member vrf-name
4. (Optional) show track [object-id]
5. (Optional) 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# configure terminal
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# configure terminal
switch(config)# track 2
Command Purpose
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Enters configuration mode.
Step 2
track object-id ip 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.
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.