Chapter 49
Configuring SPAN
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
•
•
•
•
•
•
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:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# monitor session
session-number
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:
Command
switch(config)# no monitor session {all
| session-number}
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:
•
•
OL-16597-01
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
Configuring an Ethernet Destination Port, page 49-4
Configuring Fibre Channel Destination Port, page 49-4
Purpose
Enters configuration mode.
Enters the monitor configuration mode. New session
configuration is added to the existing session
configuration.
Purpose
Deletes the configuration of the specified SPAN
session or all sessions.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Configuring SPAN
49-3