Chapter 18
P Commands
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
port-track interface
To enable port tracking for specific interfaces, use the port-track interface command in interface
configuration submode. To disable this feature, use the no form of the command.
Syntax Description
fc slot/port
fcip port
gigabitethernet slot/port Specifies a Gigabit Ethernet interface.
port-channel port
vsan vsan-id
Defaults
None.
Command Modes
Interface configuration submode.
Command History
Release
2.0(x)
Usage Guidelines
When the ports that an interface is tracking goes down, the interface also goes down. When the tracked
port comes backup, the linked interface also comes back up. Use the port-track force-shut command
to keep the linked interface down.
Examples
The following example shows how to enable port tracking for specific interfaces.
switch# config terminal
switch(config)# interface fc 1/2
switch(config-if)# port-track interface port-channel 2
switch(config-if)# port-track interface fcip 5
Related Commands
Command
port-track enable
port-track force-shut
OL-18089-01, Cisco MDS NX-OS Release 4.x
port-track interface {fc slot/port | fcip port | gigabitethernet slot/port | port-channel port}
[vsan vsan-id]
no port-track interface {fc slot/port | fcip port | gigabitethernet slot/port | port-channel port}
[vsan vsan-id]
Specifies a Fibre Channel interface.
Specifies a FCIP interface.
Specifies a PortChannel interface. The range is 1 to 128.
Specifies a VSAN ID. The range is 1 to 4093.
Modification
This command was introduced.
Description
Enables port tracking.
Forcefully shuts an interface for port tracking.
Cisco MDS 9000 Family Command Reference
port-track interface
18-31