Example of IPv4 and IPv6 Tracking Metric Thresholds
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
The following example configures object tracking on the metric threshold of an IPv6 route:
Dell(conf)#track 8 ipv6 route 2::/64 metric threshold
Dell(conf-track-8)#threshold metric up 30
Dell(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.
• Display the configuration and status of currently tracked Layer 2 or Layer 3 interfaces, IPv4 or IPv6
routes, and a VRF instance.
show track [object-id [brief] | interface [brief] [vrf vrf-name] | ip route
[brief] [vrf vrf-name] | resolution | vrf vrf-name [brief] | brief]
• Use the show running-config track command to display the tracking configuration of a
specified object or all objects that are currently configured on the router.
show running-config track [object-id]
Examples of Viewing Tracked Objects
Dell#show track
Track 1
IP route 23.0.0.0/8 reachability
Reachability is Down (route not in route table)
2 changes, last change 00:16:08
Tracked by:
Track 2
IPv6 route 2040::/64 metric threshold
Metric threshold is Up (STATIC/0/0)
5 changes, last change 00:02:16
Metric threshold down 255 up 254
First-hop interface is TenGigabitEthernet 1/2/1
Tracked by:
VRRP TenGigabitEthernet 2/30/1 IPv6 VRID 1
Track 3
IPv6 route 2050::/64 reachability
Reachability is Up (STATIC)
612
Object Tracking