PurposeCommand or Action
Clears the configuration of the specified
ERSPAN session. The new session
no monitor session {session-number | all}
Example:
Step 4
configuration is added to the existing session
configuration.
switch(config)# no monitor session 3
Configures an ERSPAN source session.
monitor session {session-number | all} type
erspan-source
Step 5
Example:
switch(config)# monitor session 3 type
erspan-source
switch(config-erspan-src)#
(Optional) Changes the ERSPAN source
session from Type II to Type III.
header-type version
Example:
Step 6
switch(config-erspan-src)# header-type
3
Configures a description for the session. By
default, no description is defined. The
description description
Example:
Step 7
description can be up to 32 alphanumeric
characters.
switch(config-erspan-src)# description
erspan_src_session_3
source {[interface[type slot/port[-port][, type
slot/port[-port]]] [port-channel
Step 8
channel-number]] | [vlan {number | range}]}
[rx | tx | both]
Example:
switch(config-erspan-src)# source
interface ethernet 2/1-3, ethernet 3/1
rx
Example:
switch(config-erspan-src)# source
interface port-channel 2
Example:
switch(config-erspan-src)# source
interface sup-eth 0 both
Example:
switch(config-monitor)# source interface
ethernet 101/1/1-3
—(Optional) Repeat Step 6 to configure all
ERSPAN sources.
Step 9
Configures the destination IP address in the
ERSPAN session. Only one destination IP
destination ip ip-address
Example:
Step 10
address is supported per ERSPAN source
session.
switch(config-erspan-src)# destination
ip 10.1.1.1
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
153
Configuring ERSPAN
Configuring an ERSPAN Source Session