PurposeCommand or Action
Enters the monitor configuration mode for the
ERSPAN source type. The new session
monitor session session-number type
erspan-source
Step 4
configuration is added to the existing session
configuration.
Example:
switch(config)# monitor session 3 type
erspan-source
switch(config-erspan-src)#
Enters the monitor configuration mode for the
ERSPAN destination type.
monitor session session-number type
erspan-destination
Example:
Step 5
switch(config-erspan-src)# monitor
session 3 type erspan-destination
Shuts down the ERSPAN session. By default,
the session is created in the shut state.
shut
Example:
Step 6
switch(config-erspan-src)# shut
Enables the ERSPAN session. By default, the
session is created in the shut state.
no shut
Example:
Step 7
switch(config-erspan-src)# no shut
Displays the status of ERSPAN sessions.(Optional) show monitor session all
Example:
Step 8
switch(config-erspan-src)# show monitor
session all
Displays the running ERSPAN configuration.(Optional) show running-config monitor
Example:
Step 9
switch(config-erspan-src)# show
running-config monitor
Displays the ERSPAN startup configuration.(Optional) show startup-config monitor
Example:
Step 10
switch(config-erspan-src)# show
startup-config monitor
Copies the running configuration to the startup
configuration.
(Optional) copy running-config
startup-config
Example:
Step 11
switch(config-erspan-src)# copy
running-config startup-config
Configuring ERSPAN Filtering
You can configure SPAN filters for local and ERSPAN-source sessions only. SPAN and ERSPAN Filtering,
on page 135 provides more information about filters.
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
158
Configuring ERSPAN
Configuring ERSPAN Filtering