Service Manual

The status of the 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.
Related Commands
show track – displays information about tracked objects, including conguration, current state, and
clients which track the object.
track interface line-protocolcongures object tracking on the line-protocol state of a Layer 2 interface.
track interface line-protocol
Congure 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, use the no track object-id command.
Parameters
object-id Enter the ID number of the tracked object. The range is 1 to 500.
interface Enter one of the following values:
For a 1-Gigabit Ethernet interface, enter the keyword GigabitEthernet
then the slot/port information.
For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet then the slot/port information.
For a Loopback interface, enter the keyword loopback then a number from 0
to 16383.
For a port channel interface, enter the keywords port-channel then a
number.
For a tunnel interface, enter the keyword tunnel.
For a VLAN interface, enter the keyword vlan then a number from 1 to 4094.
Defaults none
Command Modes CONFIGURATION
Command History
Version Description
9.8(0.0) Introduced on the S3048-ON and S4048-ON.
9.7(0.0) Introduced on the S6000-ON.
8.3.12.0 Introduced on the S4810.
8.4.1.0 Introduced.
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.
Related Commands
show track – displays information about tracked objects, including conguration, current state, and
clients which track the object.
974
Object Tracking