Specifications
Send document comments to nexus3k-docfeedback@cisco.com.
16-5
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 Route Reachability
You can configure Cisco NX-OS to track the existence and reachability of an IP route.
SUMMARY STEPS
1. configure terminal
2. track object-id ip route prefix/length reachability
3. (Optional) show track [object-id]
4. (Optional) copy running-config startup-config
DETAILED STEPS
This example shows how to configure object tracking for an IPv4 route in the default VRF.
switch# configure terminal
switch(config)# track 4 ip route 192.0.2.0/8 reachability
switch(config-track)# copy running-config startup-config
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
show track [object-id]
Example:
switch(config-track)# show track 1
(Optional) Displays object tracking information.
Step 4
copy running-config startup-config
Example:
switch(config-track)# copy
running-config startup-config
(Optional) Saves this configuration change.