EasyManua.ls Logo

Cisco Nexus 3548 series - Page 176

Cisco Nexus 3548 series
230 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Configures an ERSPAN source session.switch(config)# monitor session
{session-number | all} type erspan-source
Step 2
Configures the MTU size for truncation. Any
SPAN packet that is larger than the configured
switch(config-erspan-src)# mtu size
Step 3
MTU size is truncated to the configured size
with a 4-byte offset.
The MTU truncation size is between 64 bytes
and 1518 bytes.
Configures the ERSPAN ID for the ERSPAN
source session. The ERSPAN range is from 1
switch(config-erspan-src)# erspan-id erspan-id
Step 4
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 VRF that the ERSPAN source
session uses for traffic forwarding.
switch(config-erspan-src)# vrf vrf-name
Step 5
Configures the destination IP address in the
ERSPAN session. Only one destination IP
switch(config-erspan-src)# destination ip
ip-address
Step 6
address is supported per ERSPAN source
session.
Configures the sources and traffic direction in
which to copy packets. You can enter a range
switch(config-erspan-src)# source [interface
type slot/port | port-channel channel-number]
| [vlan vlan-range] [rx | tx | both]
Step 7
of Ethernet ports, a port channel, or a range of
VLANs.
You can configure one or more sources, as
either a series of comma-separated entries or a
range of numbers. You can specify up to 128
interfaces.
You can specify the traffic direction to copy as
ingress, egress, or both. The default direction
is both.
Example
The following example shows how to configure MTU truncation for an ERSPAN-source session:
switch# configure terminal
switch(config)# monitor session 6 type erspan-source
switch(config-erspan-src)# mtu 1096
switch(config-erspan-src)# erspan-id 40
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
162
Configuring ERSPAN
Configuring ERSPAN Truncation

Table of Contents

Related product manuals