Shutting Down Or Activating An Erspan Session - Cisco Nexus 7000 Series Configuration Manual

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Shutting Down or Activating an ERSPAN Session

Shutting Down or Activating an ERSPAN Session
You can shut down ERSPAN sessions to discontinue the copying of packets from sources to destinations.
You can shut down one session in order to free hardware resources to enable another session. By default,
ERSPAN sessions are created in the shut state.
You can enable ERSPAN sessions to activate the copying of packets from sources to destinations. To enable
an ERSPAN session that is already enabled but operationally down, you must first shut it down and then
enable it. You can shut down and enable the ERSPAN session states with either a global or monitor
configuration mode command.
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
Step 8
Step 9
Step 10
Step 11
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
342
Command or Action
switch# configure terminal
switch(config)# monitor session
{session-range | all} shut
switch(config)# no monitor session
{session-range | all} shut
switch(config)# monitor session
session-number type erspan-source
switch(config-erspan-src)# monitor
session session-number type
erspan-destination
switch(config-erspan-src)# shut
switch(config-erspan-src)# no shut
switch(config-erspan-src)# exit
switch(config)# show monitor session
all
switch(config)# show running-config
monitor
switch(config)# show startup-config
monitor
Purpose
Enters global configuration mode.
Shuts down the specified ERSPAN sessions. By
default, sessions are created in the shut state.
Resumes (enables) the specified ERSPAN sessions.
By default, sessions are created in the shut state.
If a monitor session is enabled but its operational status
is down, then to enable the session, you must first
specify the monitor session shut command followed
by the no monitor session shut command.
Enters the monitor configuration mode for the
ERSPAN source type. The new session configuration
is added to the existing session configuration.
Enters the monitor configuration mode for the
ERSPAN destination type.
Shuts down the ERSPAN session. By default, the
session is created in the shut state.
Enables the ERSPAN session. By default, the session
is created in the shut state.
Exits the monitor configuration mode.
(Optional)
Displays the status of ERSPAN sessions.
(Optional)
Displays the ERSPAN running configuration.
(Optional)
Displays the ERSPAN startup configuration.
Configuring ERSPAN

Advertisement

Table of Contents
loading

Table of Contents