Monitor Session - Cisco nexus 3000 series Command Reference Manual

Nx-os system management
Hide thumbs Also See for nexus 3000 series:
Table of Contents

Advertisement

monitor session

S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m
monitor session
To create a new 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-destination
erspan-source
Command Default
None
Command Modes
Global configuration mode
Command History
Release
5.0(3)U1(1)
5.0(3)U2(2)
Usage Guidelines
To ensure that you are working with a completely new session, you can clear the desired session number
or all SPAN sessions.
After you create an ERSPAN session, you can describe the session and add interfaces and VLANs as
sources and destinations.
This command does not require a license.
Examples
This example shows how to create a SPAN session:
switch# configure terminal
switch(config)# monitor session 2
switch(config)#
Cisco Nexus 3000 Series NX-OS System Management Command Reference
-SM-120
monitor session {session-number [shut | type {local | erspan-destination | 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 destination session.
Creates an ERSPAN source session.
Modification
This command was introduced.
Support for ERSPAN was added.
Chapter
System Management Commands
OL-29557-04

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents