Users Guide
To congure object tracking on the status of a Layer 2 interface, use the following commands.
1 Congure 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) Congure 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 conguration and the tracked object’s status.
EXEC Privilege mode
show track object-id
Example of Conguring Object Tracking
Dell(conf)#track 100 interface tengigabitethernet 1/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 1/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 10-Gigabit Ethernet interface, enter the keyword TenGigabitEthernet then the slot/port/subport information.
• For a 25-Gigabit Ethernet interface, enter the keyword twentyFiveGigE then the slot/port/subport information.
• For a 40-Gigabit Ethernet interface, enter the keyword fortyGigE then the slot/port/subport information.
• For a 50-Gigabit Ethernet interface, enter the keyword fiftyGigE then the slot/port/subport information.
• For a 100-Gigabit Ethernet interface, enter the keyword hundredGigE 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 specied 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.
Object Tracking
583