Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)
• Do not track a linked port back to itself (for example, Port fc2/2 to Port fc2/4 and back to Port fc2/2) to
avoid recursive dependency.
Enabling Port Tracking
The port tracking feature is disabled by default in Cisco Nexus 5000 Series switches. When you enable this
feature, port tracking is globally enabled for the entire switch.
To configure port tracking, enable the port tracking feature and configure the linked ports for the tracked port.
To enable port tracking, perform this task:
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configuration terminal
Step 1
Enables port tracking.switch(config)# port-track enable
Step 2
Removes the currently applied port tracking
configuration and disables port tracking.
switch(config)# no port-track enable
Step 3
About Configuring Linked Ports
You can link ports using one of two methods:
• Operationally binding the linked ports to the tracked port (default).
• Continuing to keep the linked port down forcefully, even if the tracked port has recovered from the link
failure.
Operationally Binding a Tracked Port
When you configure the first tracked port, operational binding is automatically in effect. When you use this
method, you have the option to monitor multiple ports or monitor ports in one VSAN.
To operationally bind a tracked port, perform this task:
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configuration terminal
Step 1
Enters the interface configuration mode for the
linked port. You can now configure the tracked
ports.
switch(config)# interface fc slot/port
Step 2
Specifies the tracked port. When the tracked port
goes down, the linked port is also brought down.
switch(config-if)# port-track interface fc
slot/port | san-port-channel port
Step 3
Removes the port tracking configuration that is
currently applied to the interface.
switch(config-if)# no port-track interface
fc slot/port | san-port-channel port
Step 4
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01 667
Configuring Port Tracking
Enabling Port Tracking