Users Guide

Tracking a Metric Threshold
Use the following commands to configure object tracking on the metric threshold of an IPv4 or IPv6 route.
To remove object tracking, use the no track object-id command.
1. (Optional) Reconfigure the default resolution value used by the specified protocol to scale the metric for IPv4 or IPv6 routes.
CONFIGURATION mode
track resolution {ip route | ipv6 route} {isis resolution-value | ospf resolution-value}
The range of resolution values is:
ISIS routes - 1 to 1000. The default is 1.
OSPF routes - 1 to 1592. The efault is 1.
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 65535.
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:
Dell(conf)#track 6 ip route 2.1.1.0/24 metric threshold
Dell(conf-track-6)#delay down 20
Dell(conf-track-6)#delay up 20
Dell(conf-track-6)#description track ip route metric
Dell(conf-track-6)#threshold metric down 40
Dell(conf-track-6)#threshold metric up 40
Dell(conf-track-6)#exit
Dell(conf)#track 10 ip route 3.1.1.0/24 metric threshold
vrf vrf1
Example of IPv4 and IPv6 Tracking Metric Thresholds
516
Object Tracking