Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)
Configuring SPAN
Creating and Deleting a SPAN Session
You create a SPAN session by assigning a session number using the monitor command. If the session already
exists, any additional configuration is added to that session.
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Enters the monitor configuration mode. New session
configuration is added to the existing session
configuration.
switch(config)# monitor session
session-number
Step 2
Configuring the Destination Port
Configuring an Ethernet Destination Port
The SPAN destination port can only be a physical port on the switch.Note
You can configure an Ethernet interface as a SPAN destination port.
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Enters interface configuration mode for the
specified Ethernet interface selected by the slot
and port values.
switch(config)# interface ethernet
slot/port
Step 2
Sets the interface to monitor mode. Priority flow
control is disabled when the port is configured as
a SPAN destination.
switch(config-if)# switchport monitor
Step 3
Reverts to global configuration mode.switch(config-if)# exit
Step 4
Enters the monitor configuration mode.switch(config)# monitor session
session-number
Step 5
Configures the Ethernet destination port.switch(config-monitor)# destination
interface ethernet slot/port
Step 6
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01 675
Configuring SPAN
Configuring SPAN