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-5
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 48 Configuring Port Tracking
Configuring Port Tracking
Tracking Multiple Ports
To track multiple ports, perform this task:
The following example shows how to enable port tracking for multiple interfaces:
switch# configure
switch(config)# interface fc 2/3
switch(config-if)# port-track interface fc 2/3
switch(config-if)# port-track interface san-port-channel 2
About Monitoring Ports in a VSAN
You can optionally configure one VSAN from the set of all operational VSANs on the tracked port with
the linked port by specifying the required VSAN. This level of flexibility provides higher granularity in
tracked ports. In some cases, when a tracked port is a TE port, the set of operational VSANs on the port
can change dynamically without bringing down the operational state of the port. In such cases, the port
VSAN of the linked port can be monitored on the set of operational VSANs on the tracked port.
If you configure this feature, the linked port is up only when the VSAN is up on the tracked port.
Tip The specified VSAN does not have to be the same as the port VSAN of the linked port.
Monitoring Ports in a VSAN
To monitor a tracked port in a specific VSAN, perform this task:
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.
Note This link symbolizes the direct link (1) in Figure 48-2.
Step 3
switch(config-if)# port-track
interface interface fc slot/port
| san-port-channel port
Tracks the linked port with the specified interface. When the
tracked port goes down, the linked port is also brought down.
Note This link symbolizes the ISL (2) in Figure 48-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
interface san-port-channel 1
vsan 2
Enables tracking of the SAN port channel in VSAN 2.
switch(config-if)# no port-track
interface san-port-channel 1
vsan 2
Removes the VSAN association for the linked port. The SAN
port channel link remains in effect.