Service Manual
Command History
Version Description
9.7(0.0) Introduced on the MXL. Added support for tunnel interface.
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.
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 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.7(0.0) Introduced on the MXL.
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.
848 Object Tracking