PurposeCommand or Action
Displays the ERSPAN startup configuration.(Optional) show startup-config monitor
Example:
Step 16
switch(config-erspan-src)# show
startup-config monitor
Copies the running configuration to the startup
configuration.
(Optional) copy running-config
startup-config
Example:
Step 17
switch(config-erspan-src)# copy
running-config startup-config
Shutting Down or Activating an ERSPAN Session
You can shut down ERSPAN sessions to discontinue the copying of packets from sources to destinations.
Because only a specific number of ERSPAN sessions can be running simultaneously, you can shut down a
session 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
PurposeCommand or Action
Enters global configuration mode.configuration terminal
Example:
Step 1
switch# configuration terminal
switch(config)#
Shuts down the specified ERSPAN sessions.
The session range is from 1 to 48.. By default,
sessions are created in the shut state.
monitor session {session-range | all} shut
Example:
switch(config)# monitor session 3 shut
Step 2
Resumes (enables) the specified ERSPAN
sessions. The session range is from 1 to 48..
no monitor session {session-range | all} shut
Example:
Step 3
By default, sessions are created in the shut
state. .
switch(config)# no monitor session 3
shut
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.
Note
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
157
Configuring ERSPAN
Shutting Down or Activating an ERSPAN Session