Send document comments to nexus7k-docfeedback@cisco.com.
21-12
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 21 Configuring Object Tracking
Configuring Object Tracking
This example shows how to configure object tracking for a route and use delay timers:
switch# config t
switch(config)# track 2 ip route 209.165.201.0/8 reachability
switch(config-track)# delay up 20 down 30
switch(config-track)# copy running-config startup-config
This example shows how to configure a track list with an up weight threshold of 30 and a down threshold
of 10 with delay timers:
switch# config t
switch(config)# track 1 list threshold weight
switch(config-track)# threshold weight up 30 down 10
switch(config-track)# object 10 weight 15
switch(config-track)# object 20 weight 15
switch(config-track)# object 30
switch(config-track)# delay up 20 down 30
Configuring Object Tracking for a Nondefault VRF
You can configure Cisco NX-OS to track an object in a specific VRF.
BEFORE YOU BEGIN
Ensure that you are in the correct VDC (or use the switchto vdc command).
SUMMARY STEPS
1. config t
2. track object-id {ip | ipv6} route prefix/length reachability
3. vrf member vrf-name
Step 3
track
track-number
list {
parameters
}
Example:
switch(config)# track 1 list threshold
weight
switch(config-track#
Configures a tracked list object and enters tracking
configuration mode. Specifies that the state of the
tracked list is based on a configured threshold weight.
The track-number range is from 1 to 500.
Step 4
delay {up
up-time
[down
down-time
] |
down
down-time
[up
up-time
]}
Example:
switch(config-track)# delay up 20 down
30
Configures the object delay timers. The range is from
0 to 180 seconds.
Step 5
show track
Example:
switch(config-track)# show track 3
(Optional) Displays object tracking information.
Step 6
copy running-config startup-config
Example:
switch(config-track)# copy
running-config startup-config
(Optional) Saves this configuration change.
Command Purpose