Monitor Session - Cisco Nexus 5500 Series Command Reference Manual

Nx-os layer 2 interfaces command reference
Hide thumbs Also See for Nexus 5500 Series:
Table of Contents

Advertisement

Chapter
M Commands

monitor session

To create a new Ethernet Switched Port Analyzer (SPAN) or an Encapsulated Remote Switched Port
Analyzer (ERSPAN) session configuration for analyzing traffic between ports or add to an existing
session configuration, use the monitor session command. To clear SPAN or ERSPAN sessions, use the
no form of this command.
Syntax Description
session-number
all
shut
type
local
erspan-source
Command Default
None
Command Modes
Global configuration mode
Command History
Release
5.2(1)N1(1)
Usage Guidelines
To ensure that you are working with a completely new session, you can clear the desired session number
or all SPAN sessions.
The Cisco Nexus device supports two active SPAN sessions. The Cisco Nexus 5548 Switch supports four
Note
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.
After you create an ERSPAN session, you can describe the session and add interfaces and VLANs as
sources and destinations.
OL-27880-02
monitor session {session-number [shut | type {local | erspan-source} | all shut}
no monitor session {session-number | all} [shut]
SPAN session to create or configure. The range is from 1 to 18.
Specifies to apply configuration information to all SPAN sessions.
(Optional) Specifies that the selected session will be shut down for
monitoring.
(Optional) Specifies the type of session to configure.
Specifies the session type to be local.
Creates an ERSPAN source session.
Modification
This command was introduced.
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
monitor session
1111

Advertisement

Table of Contents
loading

Table of Contents