PurposeCommand or Action
Configures the ERSPAN ID for the ERSPAN
source session. The ERSPAN range is from 1
erspan-id erspan-id
Example:
Step 11
to 1023. This ID uniquely identifies a source
switch(config-erspan-src)# erspan-id 5
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 VRF that the ERSPAN source
session uses for traffic forwarding.
vrf vrf-name
Example:
Step 12
switch(config-erspan-src)# vrf default
Configures the IP time-to-live (TTL) value for
the ERSPAN traffic. The range is from 1 to
255.
(Optional) ip ttl ttl-number
Example:
switch(config-erspan-src)# ip ttl 25
Step 13
Configures the differentiated services code
point (DSCP) value of the packets in the
ERSPAN traffic. The range is from 0 to 63.
(Optional) ip dscp dscp-number
Example:
switch(config-erspan-src)# ip dscp 42
Step 14
Enables the ERSPAN source session. By
default, the session is created in the shut state.
no shut
Example:
Step 15
Only two ERSPAN source sessions
can be running simultaneously.
Note
switch(config-erspan-src)# no shut
Displays the ERSPAN session configuration.(Optional) show monitor session {all |
session-number | range session-range}
Step 16
Example:
switch(config-erspan-src)# show monitor
session 3
Displays the running ERSPAN configuration.(Optional) show running-config monitor
Example:
Step 17
switch(config-erspan-src)# show
running-config monitor
Displays the ERSPAN startup configuration.(Optional) show startup-config monitor
Example:
Step 18
switch(config-erspan-src)# show
startup-config monitor
Copies the running configuration to the startup
configuration.
(Optional) copy running-config
startup-config
Example:
Step 19
switch(config-erspan-src)# copy
running-config startup-config
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
154
Configuring ERSPAN
Configuring an ERSPAN Source Session