Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)
Procedure
PurposeCommand or Action
Applies a descriptive name to the SPAN
session.
switch(config-monitor)# description description
Step 1
The following example shows configuring a description of a SPAN session:
switch# configure terminal
switch(config)# monitor session 2
switch(config-monitor)# description monitoring ports fc2/2-fc2/4
Activating a SPAN Session
The default is to keep the session state shut. You can open a session that duplicates packets from sources to
destinations.
Procedure
PurposeCommand or Action
Opens the specified SPAN session or all
sessions.
switch(config)# no monitor session {all |
session-number} shut
Step 1
The following example shows activating a SPAN session:
switch(config)# no monitor session 3 shut
Suspending a SPAN Session
The default is to keep the session state shut. You can suspend a SPAN session.
Procedure
PurposeCommand or Action
Suspends the specified SPAN session or all
sessions.
switch(config)# monitor session {all |
session-number} shut
Step 1
The following example shows suspending a SPAN session:
switch(config)# monitor session 3 shut
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.
Note
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
678 OL-16597-01
Configuring SPAN
Activating a SPAN Session