Configuring Erspan Truncation - Cisco Nexus 3548 Configuration Manual

Nx-os system management
Hide thumbs Also See for Nexus 3548:
Table of Contents

Advertisement

Configuring ERSPAN Truncation

Configuring ERSPAN Truncation
You can configure truncation for local and ERSPAN-source sessions only.
on page 145
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
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
switch(config-erspan-src)# vrf default
switch(config-erspan-src)# destination ip 200.1.1.1
switch(config-erspan-src)# source interface ethernet 1/40
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 6.x
174
provides more information about truncation.
Command or Action
switch# configure terminal
switch(config)# monitor session
{session-number | all} type
erspan-source
switch(config-erspan-src)# mtu
size
switch(config-erspan-src)#
erspan-id erspan-id
switch(config-erspan-src)# vrf
vrf-name
switch(config-erspan-src)#
destination ip ip-address
switch(config-erspan-src)# source
[interface type slot/port |
port-channel channel-number] |
[vlan vlan-range] [rx | tx | both]
SPAN and ERSPAN Truncation,
Purpose
Enters global configuration mode.
Configures an ERSPAN source session.
Configures the MTU size for truncation. Any SPAN packet
that is larger than the configured 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 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.
Configures the destination IP address in the ERSPAN session.
Only one destination IP address is supported per ERSPAN
source session.
Configures the sources and traffic direction in which to copy
packets. You can enter a range 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.
Configuring ERSPAN

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents