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
49-4
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 49 Configuring SPAN
Configuring SPAN
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 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 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.
Step 6
switch(config)# monitor session
session-number
Enters the monitor configuration mode.
Step 7
switch(config-monitor)# destination
interface fc slot/port
Configures the Fibre Channel destination port.