Defaults none
Command
Modes
CONFIGURATION
Command
History Version Description
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 routing state of an IPv4 Layer
2 interface:
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
configuration, current state, and clients which track the object.
track interface line-protocol – configures object tracking on the line-protocol
state of a Layer 2 interface.
track interface line-protocol
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, 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 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet then the slot/port information.
For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE 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 VLAN interface, enter the keyword vlan then a
number from 1 to 4094.
Object Tracking 1047