Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
48-6
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 48 Configuring Port Tracking
Displaying Port Tracking Information
About Forceful Shutdown
If a tracked port flaps frequently, then tracking ports using the operational binding feature may cause
frequent topology change. In this case, you may choose to keep the port in the down state until you are
able to resolve the reason for these frequent flaps. Keeping the flapping port in the down state forces the
traffic to flow through the redundant path until the primary tracked port problems are resolved. When
the problems are resolved and the tracked port is back up, you can explicitly enable the interface.
Tip If you configure this feature, the linked port continues to remain in the shutdown state even after the
tracked port comes back up. You must explicitly remove the forced shut state (by administratively
bringing up this interface) of the linked port once the tracked port is up and stable.
Forcefully Shutting Down a Tracked Port
To forcefully shut down a tracked port, perform this task:
Displaying Port Tracking Information
The show commands display the current port tracking settings for the switch.
The following example shows how to display tracked port configuration for a specific interface:
switch# show interface fc2/1
fc2/1 is down (Administratively down)
Hardware is Fibre Channel, FCOT is short wave laser w/o OFC (SN)
Port WWN is 20:01:00:05:30:00:0d:de
Admin port mode is FX
Port vsan is 1
Receive data field Size is 2112
Beacon is turned off
Port tracked with interface fc2/2 (down)
Port tracked with interface san-port-channel 1 vsan 2 (down)
5 minutes input rate 0 bits/sec, 0 bytes/sec, 0 frames/sec
...
The following example shows how to display tracked port configuration for a SAN port channel:
switch# show interface san-port-channel 1
port-channel 1 is down (No operational members)
Hardware is Fibre Channel
Port WWN is 24:01:00:05:30:00:0d:de
Admin port mode is auto, trunk mode is on
Port vsan is 2
Command Purpose
Step 1
switch# configuration terminal
Enters configuration mode.
Step 2
switch(config)# interface fc slot/port
Configures the specified interface and enters the
interface configuration mode. You can now
configure tracked ports.
Step 3
switch(config-if)# port-track force-shut
Forcefully shuts down the tracked port.
switch(config-if)# no port-track force-shut
Removes the port shutdown configuration for the
tracked port.