Configuring An Object Track List With A Boolean Expression - Cisco Nexus 3000 Series Configuration Manual

Nx-os unicast routing configuration guide, nx-os release 5.0(3)u1(1)
Hide thumbs Also See for Nexus 3000 Series:
Table of Contents

Advertisement

Configuring Object Tracking
S e n d d o c u m e n t c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m

Configuring an Object Track List with a Boolean Expression

You can configure an object track list that contains multiple tracked objects. A tracked list contains one
or more objects. The Boolean expression enables two types of calculation by using either "and" or "or"
operators. For example, when tracking two interfaces using the "and" operator, up means that both
interfaces are up, and down means that either interface is down.
SUMMARY STEPS
1.
2.
3.
4.
5.
DETAILED STEPS
Command
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
track track-number list boolean {and |
or}
Example:
switch(config)# track 1 list boolean and
switch(config-track#
Step 3
object object-id [not]
Example:
switch(config-track)# object 10
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, NX-OS Release 5.0(3)U1(1)
14-6
configure terminal
track track-number list boolean {and | or}
object object-number [not]
(Optional) show track
(Optional) copy running-config startup-config
Chapter 14
Purpose
Enters configuration mode.
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.
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.
The example means that when object 10 is up,
Note
the tracked list detects object 10 as down.
Configuring Object Tracking

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents