PurposeCommand or Action
Configures the session destination IP address.
destination ip ip-address
Example:
switch(config-span-on-latency-erspan)#
destination ip 10.0.3.1
Step 8
Configures the flow ID for the session.
erspan-id flow-id
Step 9
Example:
switch(config-span-on-latency-erspan)#
erspan-id 30
The range is from 1 to 1023.
(Optional)
(Optional) Configures the IP time-to-live (TTL)
value of the ERSPAN traffic
ip ttl flow-id
Example:
switch(config-span-on-latency-erspan)#
erspan-id 30
Step 10
The range is from 1 to 255.
(Optional)
(Optional)Configures the differentiated services
code point (DSCP) value of the packets in the
ERSPAN traffic.
ip dscp flow-id
Example:
switch(config-span-on-latency-erspan)#
ip dscp 63
Step 11
The range is from 0 to 63.
(Optional)
(Optional) Defines the maximum transmission unit
(MTU) truncation size for ERSPAN packets. Valid
values are from 64 to 1518.
mtu mtu-value
Example:
switch(config-span-on-latency-erspan)#
mtu 1500
Step 12
The default is no truncation enabled.
Updates the configuration and exits ERSPAN
SPAN-on-Latency session configuration mode.
exit
Example:
switch(config-span-on-latency-erspan)#
exit
Step 13
(Optional)
Saves the change persistently through reboots and
restarts by copying the running configuration to
the startup configuration.
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Step 14
Shutting Down or Activating an ERSPAN Session
You can shut down ERSPAN sessions to discontinue the copying of packets from sources to destinations.
Because only a specific number of ERSPAN sessions can be running simultaneously, you can shut down a
session to free hardware resources to enable another session. By default, ERSPAN sessions are created in the
shut state.
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
212 OL-31641-01
Configuring ERSPAN
Shutting Down or Activating an ERSPAN Session