Configuring an ERSPAN SPAN-on-Latency Session
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
Step 8
Step 9
Step 10
Configuring an ERSPAN SPAN-on-Latency Session
You can configure an MTU size for the ERSPAN traffic to reduce the amount of fabric or network bandwidth
used in sending ERSPAN packets.
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
210
Command or Action
switch# configure terminal
switch(config) # monitor session
session-number type
erspan-span-on-drop
switch(config-span-on-drop-erspan) #
description description
switch(config-span-on-drop-erspan) #
source interface ethernet slot/port rx
switch(config-span-on-drop-erspan) #
destination ip ip-address
switch(config-span-on-drop-erspan) #
erspan-id erspan-id
switch(config-span-on-drop-erspan) #
ip ttl ttl-value
switch(config-span-on-drop-erspan) #
ip dscp dscp-value
switch(config) # show monitor session
session-number
switch(config) # copy running-config
startup-config
Purpose
Enters global configuration mode.
Enters SPAN-on-Drop monitor configuration mode
for the specified SPAN-on-drop session.
Creates descriptive name for the SPAN-on-Drop
session.
Configures sources and the traffic direction in which
to duplicate packets. You can enter a range of Ethernet
ports. You can specify the traffic direction to duplicate
as ingress (rx) only.
Configures the destination IP address for the ERSPAN
SPAN-on-Drop session.
Configures the ERSPAN ID for the ERSPAN
SPAN-on-Drop session. The range is from 1 to 1023.
This ID uniquely identifies a source and destination
ERSPAN session pair. The ERSPAN ID configured
in the corresponding destination ERSPAN session must
be same as the one configured in the source session.
Configures the IP time-to-live (TTL) value of the
ERSPAN traffic.
Configures the differentiated services code point
(DSCP) value of the packets in the ERSPAN traffic.
(Optional)
Displays the status of ERSPAN SPAN-on-Drop
sessions.
(Optional)
Copies the running configuration to the startup
configuration.
Configuring ERSPAN
OL-31641-01