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-3
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 49 Configuring SPAN
Configuring SPAN
Configuring the Destination Port, page 49-3
Configuring Source Ports, page 49-5
Configuring Source Port Channels, VLANs, or VSANs, page 49-5
Configuring the Description of a SPAN Session, page 49-6
Suspending or Activating a SPAN Session, page 49-7
Displaying SPAN Information, page 49-7
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.
To create a SPAN session, perform this task:
The following example shows creating a SPAN session:
switch# configure terminal
switch(config)# monitor session 2
To ensure that you are working with a completely new session, you can delete the desired session number
or all SPAN sessions.
To delete SPAN sessions, perform this task:
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 described in the following
topics:
Configuring an Ethernet Destination Port, page 49-4
Configuring Fibre Channel Destination Port, page 49-4
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# monitor session
session-number
Enters the monitor configuration mode. New session
configuration is added to the existing session
configuration.
Command Purpose
switch(config)# no monitor session {all
| session-number}
Deletes the configuration of the specified SPAN
session or all sessions.