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