
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
1-4
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 1 Configuring SPAN
Configuring SPAN
Configuring the Destination Port
The SPAN destination port can only be a physical port on the switch. There are minor differences
between the configuration of Ethernet and Fibre Channel destination ports as detailed in the following
topics.
Configuring an Ethernet Destination Port
To configure an Ethernet interface as a SPAN destination port, perform this task:
The following example shows configuring an Ethernet SPAN destination port:
switch#
configure terminal
switch(config)#
interface
ethernet
1/3
switch(config-if)#
switchport
monitor
switch(config-if)#
exit
switch(config)#
monitor session
2
switch(config-monitor)#
destination
interface
ethernet
1/3
Configuring Fibre Channel Destination Port
To configure a Fibre Channel port as a SPAN destination port, perform this task:
Command
Purpose
Step 1
switch#
configure terminal
Enters global configuration mode.
Step 2
switch(config)#
interface
ethernet
slot
/
port
Enters interface configuration mode for the specified
Ethernet interface selected by the slot and port values.
Step 3
switch(config-if)#
switchport
monitor
Sets the interface to monitor mode. Priority flow
control is disabled when the port is configured as a
SPAN destination.
Step 4
switch(config-if)#
exit
Reverts to global configuration mode.
Step 5
switch(config)#
monitor session
session-number
Enters the monitor configuration mode.
Step 6
switch(config-monitor)#
destination
interface
ethernet
slot
/
port
Configures the Ethernet destination port.
Command
Purpose
Step 1
switch#
configure terminal
Enters global configuration mode.
Step 2
switch(config)#
interface
fc
slot
/
port
Enters interface configuration mode for the specified
Fibre Channel interface selected by the slot and port
values.
Step 3
switch(config-if)#
switchport
mode SD
Sets the interface to SPAN destination (SD) mode.
Step 4
switch(config-if)#
switchport
speed 1000
Sets the interface speed to 1000. The auto speed
option is not allowed.
Step 5
switch(config-if)#
exit
Reverts to global configuration mode.