Users Guide
A line-protocol object only tracks the link-level (UP/DOWN) status of a specified interface. When the link-
level status goes down, the tracked object status is DOWN; if the link-level status is up, the tracked object
status is UP.
To remove object tracking on a Layer 2 interface, use the no track object-id command.
To configure object tracking on the status of a Layer 2 interface, use the following commands.
1. Configure object tracking on the line-protocol state of a Layer 2 interface.
CONFIGURATION mode
track object-id interface interface line-protocol
Valid object IDs are from 1 to 65535.
2. (Optional) Configure 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 configuration and the tracked object’s status.
EXEC Privilege mode
show track object-id
Example of Configuring Object Tracking
Dell(conf)#track 100 interface tengigabitethernet 7/1/1 line-protocol
Dell(conf-track-100)#delay up 20
Dell(conf-track-100)#description San Jose data center
Dell(conf-track-100)#end
Dell#show track 100
Track 100
Interface TenGigabitEthernet 7/1/1 line-protocol
Description: San Jose data center
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 1-Gigabit Ethernet: enter gigabitethernet slot/port in the track interface
interface command (see Step 1).
• For a 10-Gigabit Ethernet interface, enter the keyword TenGigabitEthernet then the slot/port/
subport information.
690
Object Tracking