![Cisco MDS 9000 Series Command Reference Manual Download Page 863](http://html.mh-extra.com/html/cisco/mds-9000-series/mds-9000-series_command-reference-manual_21253863.webp)
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
18-31
Cisco MDS 9000 Family Command Reference
OL-18089-01, Cisco MDS NX-OS Release 4.x
Chapter 18 P Commands
port-track interface
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.
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
]
Syntax Description
Defaults
None.
Command Modes
Interface configuration submode.
Command History
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
fc
slot
/
port
Specifies a Fibre Channel interface.
fcip
port
Specifies a FCIP interface.
gigabitethernet
slot
/
port
Specifies a Gigabit Ethernet interface.
port-channel
port
Specifies a PortChannel interface. The range is 1 to 128.
vsan
vsan-id
Specifies a VSAN ID. The range is 1 to 4093.
Release
Modification
2.0(x)
This command was introduced.
Command
Description
port-track enable
Enables port tracking.
port-track force-shut
Forcefully shuts an interface for port tracking.