Chapter 1
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}
OL-16597-01
Configuring the Destination Port, page 1-4
Configuring Source Ports, page 1-5
Configuring Source Port Channels, VLANs, or VSANs, page 1-5
Configuring the Description of a SPAN Session, page 1-6
Suspending or Activating a SPAN Session, page 1-7
Displaying SPAN Information, page 1-7
Purpose
Enters global configuration mode.
Enters the monitor configuration mode. New session
configuration is added to the existing session
configuration.
The session-number can be from 1 to 18. You can
configure up to 18 sessions; however you can have
only 2 sessions active at a time.
When you configure more than two SPAN sessions,
the first two sessions are active. During startup, the
order of active sessions is reversed; the last two
sessions are active. For example, if you configured ten
sessions 1 to 10 where 1 and 2 are active, after a
reboot, sessions 9 and 10 will be active. To enable
deterministic behavior, explicitly suspend the
sessions 3 to 10 with the monitor session
session-number shut command.
Purpose
Deletes the configuration of the specified SPAN
session or all sessions.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Configuring SPAN
1-3