Reference Guide
Object Tracking | 997
track interface line-protocol
c e s
Configure object tracking on the line-protocol state of a Layer 2 interface.
Syntax
track object-id interface interface line-protocol
To return to the default setting, enter no track object-id.
Parameters
Defaults
None
Command Modes
CONFIGURATION
Command
History
Related
Commands
Usage
Information
Use this command to create an object that tracks the line-protocol state of a Layer 2 interface by
monitoring its operational status (UP or DOWN).
When the link-level status goes down, the tracked object status is considered to be DOWN; if the
link-level status is up, the tracked object status is considered to be UP.
object-id
Enter the ID number of the tracked object. Range: 1 to 65535.
interface
Enter one of the following values:
• For a 1-Gigabit Ethernet interface, enter gigabitethernet slot-number/
port-number.
• For a Loopback interface, enter loopback number, where number is from 0 to
16383.
• For a Port Channel interface, enter port-channe
l number, where the valid values
are:
C-Series and S-Series: 1 to 128
E-Series: 1 to 32 for EtherScale; 1 to 255 for TeraScale; 1 to 512 for ExaScale.
• For SONET interfaces, enter the sonet slot-number/port-number.
• For a 10-Gigabit Ethernet interface, enter tengigabitethernet slot-number/
port-number
• For a VLAN interface, enter vlan number, where number is from 1 to 4094.
Version 8.4.1.0 Introduced
show track Display information about tracked objects, including configuration, current state, and
clients which track the object.
track interface ip
routing
Configure object tracking on the routing status of an IPv4 Layer 3 interface.