Configuring Object Tracking For A Nondefault Vrf - Cisco Nexus 7000 Series Configuration Manual

Nx-os unicast routing configuration
Hide thumbs Also See for Nexus 7000 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 7 k - d o c f e e d b a c k @ c i s c o . c o m .
Command
Step 3
track track-number list { parameters }
Example:
switch(config)# track 1 list threshold
weight
switch(config-track#
Step 4
delay {up up-time [down down-time ] |
down down-time [up up-time ]}
Example:
switch(config-track)# delay up 20 down
30
Step 5
show track
Example:
switch(config-track)# show track 3
Step 6
copy running-config startup-config
Example:
switch(config-track)# copy
running-config startup-config
This example shows how to configure object tracking for a route and use delay timers:
switch# config t
switch(config)# track 2 ip route 209.165.201.0/8 reachability
switch(config-track)# delay up 20 down 30
switch(config-track)# copy running-config startup-config
This example shows how to configure a track list with an up weight threshold of 30 and a down threshold
of 10 with delay timers:
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
switch(config-track)# delay up 20 down 30

Configuring Object Tracking for a Nondefault VRF

You can configure Cisco NX-OS to track an object in a specific VRF.
BEFORE YOU BEGIN
Ensure that you are in the correct VDC (or use the switchto vdc command).
SUMMARY STEPS
1.
2.
3.
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
21-12
config t
track object-id {ip | ipv6} route prefix/length reachability
vrf member vrf-name
Chapter 21
Purpose
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.
Configures the object delay timers. The range is from
0 to 180 seconds.
(Optional) Displays object tracking information.
(Optional) Saves this configuration change.
Configuring Object Tracking
OL-20002-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents