Send document comments to nexus7k-docfeedback@cisco.com.
21-10
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 21 Configuring Object Tracking
Configuring Object Tracking
DETAILED STEPS
This example shows how to configure a track list with an up weight threshold of 30 and a down threshold
of 10:
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
In this example, the track list is up if object 10 and object 20 are up, and the track list goes to the down
state if all three objects are down.
Command Purpose
Step 1
config t
Example:
switch# config t
switch(config)#
Enters configuration mode.
Step 2
track
track-number
list threshold weight
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 3
threshold weight up
up-value
down
down-value
Example:
switch(config-track)# threshold weight
up 30 down 10
Configures the threshold weight for the tracked list.
The range from 1 to 255.
Step 4
object
object-id
weight
value
Example:
switch(config-track)# object 10 weight
15
Adds a tracked object to the track list. The object-id
range is from 1 to 500. The value range is from 1 to
255. The default weight value is 10.
Step 5
show track
Example:
switch(config-track)# show track
(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.