Users Guide

Tracking a Layer 3 Interface
You can create an object that tracks the routing status of an IPv4 or IPv6 Layer 3 interface.
You can track the routing status of any of the following Layer 3 interfaces:
For a 10-Gigabit Ethernet interface, enter the keyword TenGigabitEthernet then the slot/port information.
For a port channel interface, enter the keywords port-channel then a number.
For a VLAN interface, enter the keyword vlan then a number from 1 to 4094.
For an IPv4 interface, a routing object only tracks the UP/DOWN status of the specied IPv4 interface (the track interface ip-
routing command).
The status of an IPv4 interface is UP only if the Layer 2 status of the interface is UP and the interface has a valid IP address.
The Layer 3 status of an IPv4 interface goes DOWN when its Layer 2 status goes down (for a Layer 3 VLAN, all VLAN ports must be
down) or the IP address is removed from the routing table.
For an IPv6 interface, a routing object only tracks the UP/DOWN status of the specied IPv6 interface (the track interface ipv6-
routing command).
The status of an IPv6 interface is UP only if the Layer 2 status of the interface is UP and the interface has a valid IPv6 address.
The Layer 3 status of an IPv6 interface goes DOWN when its Layer 2 status goes down (for a Layer 3 VLAN, all VLAN ports must be
down) or the IPv6 address is removed from the routing table.
To remove object tracking on a Layer 3 IPv4/IPv6 interface, use the no track object-id command.
To congure object tracking on the routing status of a Layer 3 interface, use the following commands.
1 Congure object tracking on the routing status of an IPv4 or IPv6 interface.
CONFIGURATION mode
track object-id interface interface {ip routing | ipv6 routing}
Valid object IDs are from 1 to 65535.
2 (Optional) Congure the time delay used before communicating a change in the status of a tracked interface.
OBJECT TRACKING mode
delay {[up seconds] [down seconds]}
Valid delay times are from 0 to 180 seconds.
The default is 0.
3 (Optional) Identify the tracked object with a text description.
OBJECT TRACKING mode
description text
The text string can be up to 80 characters.
4 (Optional) Display the tracking conguration and the tracked object’s status.
EXEC Privilege mode
show track object-id
Examples of Conguring Object Tracking for an IPv4 or IPv6 Interface
The following is an example of conguring object tracking for an IPv4 interface:
Dell(conf)#track 101 interface tengigabitethernet 7/2 ip routing
Dell(conf-track-101)#delay up 20
Object Tracking
169