Send document comments to nexus7k-docfeedback@cisco.com.
21-7
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 21 Configuring Object Tracking
Configuring Object Tracking
SUMMARY STEPS
1. config t
2. track track-number list boolean {and | or}
3. object object-number [not]
4. show track
5. copy running-config startup-config
DETAILED STEPS
Command Purpose
Step 1
config t
Example:
switch# config t
switch(config)#
Enters configuration mode.
Step 2
track
track-number
list boolean {and |
or}
Example:
switch(config)# track 1 list boolean and
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 Boolean calculation. The
keywords are as follows:
• and—Specifies that the list is up if all objects are
up, or down if one or more objects are down. For
example when tracking two interfaces, up means
that both interfaces are up, and down means that
either interface is down.
• or—Specifies that the list is up if at least one
object is up. For example, when tracking two
interfaces, up means that either interface is up, and
down means that both interfaces are down.
The track-number range is from 1 to 500.
Step 3
object
object-id
[not]
Example:
switch(config-track)# object 10
Adds a tracked object to the track list. The object-id
range is from 1 to 500. The not keyword optionally
negates the tracked object state.
Note The example means that when object 10 is up,
the tracked list detects object 10 as down.
Step 4
show track
Example:
switch(config-track)# show track
(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.