EasyManua.ls Logo

Cisco Nexus 7000 Series - Configuring an Object Track List with a Boolean Expression

Cisco Nexus 7000 Series
536 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 nexus7k-docfeedback@cisco.com.
21-6
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 21 Configuring Object Tracking
Configuring Object Tracking
2. track object-id {ip | ipv6} route prefix/length reachability
3. show track [object-id]
4. copy running-config startup-config
DETAILED STEPS
This example shows how to configure object tracking for an IPv4 route in the default VRF.
switch# config t
switch(config)# track 4 ip route 192.0.2.0/8 reachability
switch(config-track)# copy running-config startup-config
This example shows how to configure object tracking for an IPv6 route in the default VRF.
switch# config t
switch(config)# track 5 ipv6 route 10::10/128 reachability
switch(config-track)# copy running-config startup-config
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.
BEFORE YOU BEGIN
Ensure that you are in the correct VDC (or use the switchto vdc command).
Command Purpose
Step 1
config t
Example:
switch# config t
switch(config)#
Enters configuration mode.
Step 2
track
object-id
{ip | ipv6} route
prefix/length
reachability
Example:
switch(config)# track 2 ip route
192.0.2.0/8 reachability
switch(config-track)#
Creates a tracked object for a route and enters tracking
configuration mode. The object-id range is from 1 to
500. The prefix format for IP is A.B.C.D/length, where
the length range is from 1 to 32. The prefix format for
IPv6 is A:B::C:D/length, where the length range is
from 1 to 128.
Step 3
show track
[
object-id
]
Example:
switch(config-track)# show track 1
(Optional) Displays object tracking information.
Step 4
copy running-config startup-config
Example:
switch(config-track)# copy
running-config startup-config
(Optional) Saves this configuration change.

Table of Contents

Other manuals for Cisco Nexus 7000 Series

Related product manuals