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-4
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 48 Configuring Port Tracking
Configuring Port Tracking
The following example shows how to enable port tracking for specific interfaces:
switch# configure
switch(config)# interface fc 2/4
switch(config-if)# port-track interface san-port-channel 2
About Tracking Multiple Ports
You can control the operational state of the linked port based on the operational states of multiple tracked
ports. When more than one tracked port is associated with a linked port, the operational state of the
linked port will be set to down only if all the associated tracked ports are down. Even if one tracked port
is up, the linked port will stay up.
In Figure 48-2, only if both ISLs 2 and 3 fail, will the direct link 1 be brought down. Direct link 1 will
not be brought down if either 2 or 3 are still functioning as desired.
Figure 48-2 Traffic Recovery Using Port Tracking
Step 3
switch(config-if)# port-track
interface fc slot/port |
san-port-channel port
Specifies the tracked port. When the tracked port goes down,
the linked port is also brought down.
Note This link symbolizes the ISL (2) in Figure 48-1.
switch(config-if)# no port-track
interface fc slot/port |
san-port-channel port
Removes the port tracking configuration that is currently
applied to the interface.
Command Purpose
FCFCFCFC
WAN or
MAN
WAN or
MAN
1
3
Port Channel
2
FC 3/2
X
X
X
187237
FC 2/4