EasyManua.ls Logo

Cisco Nexus 3000 series - Configuring an Object Track List with a Boolean Expression

Cisco Nexus 3000 series
338 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Send document comments to nexus3k-docfeedback@cisco.com
14-6
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, NX-OS Release 5.0(3)U1(1)
Chapter14 Configuring Object Tracking
Configuring Object Tracking
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. configure terminal
2. track track-number list boolean {and | or}
3. object object-number [not]
4. (Optional) show track
5. (Optional) copy running-config startup-config
DETAILED STEPS
Command Purpose
Step 1
configure terminal
Example:
switch# configure terminal
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:
andSpecifies 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.

Table of Contents

Other manuals for Cisco Nexus 3000 series

Related product manuals