Administrator Guide

2. Configure object tracking on the metric of an IPv4 or IPv6 route.
CONFIGURATION mode
track object-id {ip route ip-address/prefix-len | ipv6 route ipv6-address/prefix-len}
metric threshold [vrf vrf-name]
Valid object IDs are from 1 to 500.
Enter an IPv4 address in dotted decimal format. Valid IPv4 prefix lengths are from /0 to /32.
Enter an IPv6 address in X:X:X:X::X format. Valid IPv6 prefix lengths are from /0 to /128.
(Optional) E-Series only: For an IPv4 route, you can enter a VRF name.
3. (Optional) Configure the time delay used before communicating a change in the UP and/or DOWN status of a tracked route.
OBJECT TRACKING mode
delay {[up seconds] [down seconds]}
Valid delay times are from 0 to 180 seconds.
The default is 0.
4. (Optional) Identify the tracked object with a text description.
OBJECT TRACKING mode
description text
The text string can be up to 80 characters.
5. (Optional) Configure the metric threshold for the UP and/or DOWN routing status to be tracked for the specified route.
OBJECT TRACKING mode
threshold metric {[up number] [down number]}
The default UP threshold is 254. The routing state is UP if the scaled route metric is less than or equal to the UP threshold.
The defult DOWN threshold is 255. The routing state is DOWN if the scaled route metric is greater than or equal to the
DOWN threshold.
6. (Optional) Display the tracking configuration.
EXEC Privilege mode
show track object-id
Example of IPv4 and IPv6 Tracking Metric Thresholds
The following example configures object tracking on the metric threshold of an IPv4 route:
DellEMC(conf)#track 6 ip route 2.1.1.0/24 metric threshold
DellEMC(conf-track-6)#delay down 20
DellEMC(conf-track-6)#delay up 20
DellEMC(conf-track-6)#description track ip route metric
DellEMC(conf-track-6)#threshold metric down 40
DellEMC(conf-track-6)#threshold metric up 40
DellEMC(conf-track-6)#exit
DellEMC(conf)#track 10 ip route 3.1.1.0/24 metric threshold
vrf vrf1
Example of IPv4 and IPv6 Tracking Metric Thresholds
The following example configures object tracking on the metric threshold of an IPv6 route:
DellEMC(conf)#track 8 ipv6 route 2::/64 metric threshold
DellEMC(conf-track-8)#threshold metric up 30
DellEMC(conf-track-8)#threshold metric down 40
Displaying Tracked Objects
To display the currently configured objects used to track Layer 2 and Layer 3 interfaces, and IPv4 and IPv6 routes, use the
following show commands.
To display the configuration and status of currently tracked Layer 2 or Layer 3 interfaces, IPv4 or IPv6 routes, or a VRF
instance, use the show track command. You can also display the currently configured per-protocol resolution values used to
scale route metrics when tracking metric thresholds.
626
Object Tracking