Cisco Nexus 9000 Series Configuration Manual page 222

Nx-os system management configuration guide, release 6.x
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring an ERSPAN Source Session
Step 6
Step 7
Step 8
Step 9
Step 10
Step 11
Cisco Nexus 9000 Series NX-OS System Management Configuration Guide, Release 6.x
202
Command or Action
source {interface type [rx | tx | both] |
vlan {number | range} [rx]}
Example:
switch(config-erspan-src)# source
interface ethernet 2/1-3, ethernet
3/1 rx
Example:
switch(config-erspan-src)# source
interface port-channel 2
Example:
switch(config-erspan-src)# source
interface sup-eth 0 both
Example:
switch(config-erspan-src)# source
vlan 3, 6-8 rx
Example:
switch(config-erspan-src)# source
interface ethernet 101/1/1-3
Repeat Step 6 to configure all ERSPAN
sources.
filter vlan {number | range}
Example:
switch(config-erspan-src)# filter
vlan 3-5, 7
Repeat Step 8 to configure all source
VLANs to filter.
filter access-group acl-filter
Example:
switch(config-erspan-src)# filter
access-group ACL1
destination ip ip-address
Example:
switch(config-erspan-src)#
destination ip 10.1.1.1
Purpose
Configures the sources and traffic direction in which
to copy packets. You can enter a range of Ethernet
ports, a port channel, an inband interface, a range of
VLANs, or a satellite port or host interface port
channel on the Cisco Nexus 2000 Series Fabric
Extender (FEX).
You can configure one or more sources, as either a
series of comma-separated entries or a range of
numbers.
You can specify the traffic direction to copy as
ingress, egress, or both.
Source VLANs are supported only in the
Note
ingress direction. Source FEX ports are
supported in the ingress direction for all
traffic and in the egress direction only for
known Layer 2 unicast traffic.
For a unidirectional session, the direction of the source
must match the direction specified in the session.
(Optional)
(Optional)
Configures which VLANs to select from the
configured sources. You can configure one or more
VLANs, as either a series of comma-separated entries
or a range of numbers. For information on the VLAN
range, see the Cisco Nexus 9000 Series NX-OS Layer
2 Switching Configuration Guide.
Note
A FEX port that is configured as an ERSPAN
source does not support VLAN filters.
(Optional)
(Optional)
Associates an ACL with the ERSPAN session.
Note
You can create an ACL using the standard
ACL configuration process. For more
information, see the Cisco Nexus 9000 Series
NX-OS Security Configuration Guide.
Configures the destination IP address in the ERSPAN
session. Only one destination IP address is supported
per ERSPAN source session.
Configuring ERSPAN

Advertisement

Table of Contents
loading

Table of Contents