PurposeCommand or Action
Configures the ACL filter for packets in this ERSPAN
session. The ACL filter can be a MAC or an IP
access-list.
[no] filter access-group acl_filter
Example:
switch(config-erspan-src)# filter
access-group erspan_acl_filter
Step 10
(Optional)
Configures the IP time-to-live (TTL) value of the
packets in the ERSPAN traffic. Valid values are from
1 to 255. The default value is 255.
ip ttl ttl-number
Example:
switch(config-erspan-src)# ip ttl
5
Step 11
(Optional)
Configures the IP Differentiated Services Code Point
(DSCP) value of the packets in the ERSPAN traffic.
Valid values are from 0 to 63. The default value is 0.
ip dscp dscp_value
Example:
switch(config-erspan-src)# ip dscp
42
Step 12
Enables the ERSPAN source session. By default, the
session is created in the shut state.
no shut
Example:
switch(config-erspan-src)# no shut
Step 13
Updates the configuration and exits ERSPAN source
session configuration mode.
exit
Example:
switch(config-erspan-src)# exit
switch(config)# exit
Step 14
(Optional)
Copies the running configuration to the startup
configuration.
copy running-config startup-config
Example:
switch(config-erspan-src)# copy
running-config startup-config
Step 15
Configuring an ERSPAN Type III Source Session
Procedure
PurposeCommand or Action
Enters global configuration mode.configuration terminal
Example:
switch# config t
switch(config)#
Step 1
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x    
   OL-31641-01 203
Configuring ERSPAN
Configuring an ERSPAN Type III Source Session