Specifications

Send document comments to nexus3k-docfeedback@cisco.com.
16-11
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
This example shows how to configure object tracking for a route and use delay timers:
switch# configure terminal
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# configure terminal
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
This example shows the delay timer in the show track command output before and after an interface is
shut down:
switch(config-track)# show track
Track 1
Interface loopback1 Line Protocol
Line Protocol is UP
1 changes, last change 00:00:13
Delay down 10 secs
switch(config-track)# interface loopback 1
switch(config-if)# shutdown
switch(config-if)# show track
Track 1
Interface loopback1 Line Protocol
Line Protocol is delayed DOWN (8 secs remaining)<------- delay timer counting down
1 changes, last change 00:00:22
Delay down 10 secs
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