Configuring ERSPAN
Step 5
Step 6
Step 7
Step 8
Step 9
Step 10
Step 11
Verifying the ERSPAN Configuration
To display the ERSPAN configuration, perform one of the following tasks:
Command
show monitor session {all | session-number | range
session-range} [brief]
show running-config monitor
Command or Action
shut
Example:
switch(config-erspan-src)# shut
no shut
Example:
switch(config-erspan-src)# no shut
exit
Example:
switch(config-erspan-src)# exit
switch(config)#
show monitor session all
Example:
switch(config)# show monitor session
all
show running-config monitor
Example:
switch(config)# show running-config
monitor
show startup-config monitor
Example:
switch(config)# show startup-config
monitor
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Cisco Nexus 9000 Series NX-OS System Management Configuration Guide, Release 6.x
Verifying the ERSPAN Configuration
Purpose
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.
(Optional)
Copies the running configuration to the startup
configuration.
Purpose
Displays the ERSPAN session configuration.
Displays the running ERSPAN configuration.
205