389
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
track interface
track interface
To configure object tracking on an interface, use the track interface command. To remove the object
tracking for this interface, use the no form of this command.
track object-id interface {ethernet slot/port | loopback if_number | port-channel number} {ip
routing | line-protocol}
no track object-id [force]
Syntax Description
Command Default None
Command Modes Global configuration mode
Command History
Usage Guidelines Use this command to track the line protocol status or IPv4 routing state of an interface. This command
enters the object tracking command mode. Use the vrf member command in object tracking
configuration mode to track objects in a nondefault VRF.
This command does not require a license.
Examples This example shows how to track the IP routing state on interface Ethernet 1/2:
switch# configure terminal
switch(config)# track 1 interface ethernet 1/2 ip routing
switch(config-track)#
object-id Tracking ID. The range can be from 1 to 500.
ethernet slot/port Specifies the Ethernet interface and the slot number and port number. The
slot number is from 1 to 255, and the port number is from 1 to 128.
loopback if_number Specifies the loopback interface. The loopback interface number is from 0 to
1023.
port-channel number Specifies the EtherChannel interface and EtherChannel number. The range
is from 1 to 4096.
ip routing Tracks the IP routing state of the interface.
line-protocol Tracks the line protocol state of the interface.
force (Optional) Completely removes the object tracking instance.
Release Modification
5.0(3)A1(1) This command was introduced.