Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)

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
The SPAN destination port can only be a physical port on the switch.Note
You can configure a Fibre Channel port as a SPAN destination port.
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Enters interface configuration mode for the
specified Fibre Channel interface selected by the
slot and port values.
switch(config)# interface fc slot/port
Step 2
Sets the interface to SPAN destination (SD)
mode.
switch(config-if)# switchport mode SD
Step 3
Sets the interface speed to 1000. The auto speed
option is not allowed.
switch(config-if)# switchport speed 1000
Step 4
Reverts to global configuration mode.switch(config-if)# exit
Step 5
Enters the monitor configuration mode.switch(config)# monitor session
session-number
Step 6
Configures the Fibre Channel destination port.switch(config-monitor)# destination
interface fc slot/port
Step 7
The following example shows configuring an Ethernet SPAN destination port:
switch# configure terminal
switch(config)# interface fc 2/4
switch(config-if)# switchport mode SD
switch(config-if)# switchport speed 1000
switch(config-if)# exit
switch(config)# monitor session 2
switch(config-monitor)# destination interface fc 2/4
Configuring Source Ports
You can configure the source ports for a SPAN session. The source ports can be Ethernet, Fibre Channel, or
virtual Fibre Channel ports.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
676 OL-16597-01
Configuring SPAN
Configuring Fibre Channel Destination Port