Configuring Object Tracking
S e n d d o c u m e n t c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m
Configuring Object Tracking for a Nondefault VRF
You can configure Cisco NX-OS to track an object in a specific VRF.
SUMMARY STEPS
1.
2.
3.
4.
5.
DETAILED STEPS
Command
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
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)#
Step 3
vrf member vrf-name
Example:
switch(config-track)# vrf member Red
Step 4
show track [ object-id ]
Example:
switch(config-track)# show track 3
Step 5
copy running-config startup-config
Example:
switch(config-track)# copy
running-config startup-config
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
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, NX-OS Release 5.0(3)U1(1)
14-12
configure terminal
track object-id ip route prefix/length reachability
vrf member vrf-name
(Optional) show track [object-id]
(Optional) copy running-config startup-config
Chapter 14
Purpose
Enters configuration mode.
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.
Configures the VRF to use for tracking the configured
object.
(Optional) Displays object tracking information.
(Optional) Saves this configuration change.
Configuring Object Tracking