switch(config-erspan-src)# vrf default
switch(config-erspan-src)# destination ip 200.1.1.1
switch(config-erspan-src)# source interface ethernet 1/40
switch(config-erspan-src)# show monitor session 6
session 6
---------------
type : erspan-source
state : down (Session admin shut)
granularity : 100 microseconds
erspan-id : 40
vrf-name : default
destination-ip : 200.1.1.1
ip-ttl : 255
ip-dscp : 0
header-type : 2
mtu : 1096
origin-ip : 150.1.1.1 (global)
source intf :
rx : Eth1/40
tx : Eth1/40
both : Eth1/40
source VLANs :
rx :
Configuring an ERSPAN Marker Packet
Use the following commands to configure an ERSPAN marker packet:
PurposeCommand
Enables the ERSPAN marker packet for a session.
The interval can range from 1 second to 4 seconds.
marker-packet seconds
Enables the ERSPAN marker packet for a session.
The interval can range from 100 milliseconds to 900
milliseconds, with increments in multiples of 100.
marker-packet milliseconds
Disables the ERSPAN marker packet for a session.no marker-packet
Example
This example shows how to enable the ERSPAN marker packet with an interval of 2 seconds:
Configuring the interval parameter is optional. If you enable the marker-packet without specifying
a parameter, it uses the default or existing interval as the interval value. The marker-packet command
only enables the marker-packet.
Note
switch# configure terminal
switch(config)# monitor erspan origin ip-address 172.28.15.250 global
switch(config)# monitor session 1 type erspan-source
switch(config)# header-type 3
switch(config-erspan-src)# erspan-id 1
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
163
Configuring ERSPAN
Configuring an ERSPAN Marker Packet