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
Suspending or Activating a SPAN Session
The default is to keep the session state shut. To open a session that duplicates packets from sources to
destinations, perform this task:
Command
switch(config)# no monitor session {all
| session-number} shut
The following example shows suspending a SPAN session:
...
switch(config)# monitor session 3 shut
To suspend a SPAN session, perform this task:
Command
switch(config)# monitor session {all |
session-number} shut
The Cisco Nexus 5000 Series switch supports two active SPAN sessions. When you configure more than
Note
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.
Displaying SPAN Information
To display SPAN information, perform this task:
Command
switch# show monitor [session {all |
session-number | range session-range}
[brief]]
This example shows how to display SPAN session information:
switch# show monitor
SESSION
-------
2
3
4
This example shows how to display SPAN session details:
switch# show monitor session 2
session 2
---------------
OL-16597-01
STATE
REASON
-----------
----------------------
up
The session is up
down
Session suspended
down
No hardware resource
Purpose
Opens the specified SPAN session or all sessions.
Purpose
Suspends the specified SPAN session or all sessions.
Purpose
Displays the SPAN configuration.
DESCRIPTION
--------------------------------
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Configuring SPAN
49-7