EasyManua.ls Logo

Cisco Nexus 3548 - Configuring ERSPAN Sampling

Cisco Nexus 3548
220 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...
PurposeCommand or Action
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.
The following example shows how to configure an MAC-based filter for an ERSPAN-source session:
switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# monitor session 2 type erspan-source
switch(config-erspan-src)# filter mac abcd.ef12.3456 1111.2222.3333 1234.5678.9012
1111.2222.3333
switch(config-erspan-src)# erspan-id 20
switch(config-erspan-src)# vrf default
switch(config-erspan-src)# destination ip 200.1.1.1
switch(config-erspan-src)# source interface Ethernet 1/47 rx
switch(config-erspan-src)# no shut
switch(config-erspan-src)#
The following example shows how to configure a VLAN-based filter for an ERSPAN-source session:
switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# monitor session 2 type erspan-source
switch(config-erspan-src)# filter mac abcd.ef12.3456 1111.2222.3333 1234.5678.9012
1111.2222.3333
switch(config-erspan-src)# erspan-id 21
switch(config-erspan-src)# vrf default
switch(config-erspan-src)# destination ip 200.1.1.1
switch(config-erspan-src)# source interface Ethernet 1/47 rx
switch(config-erspan-src)# source vlan 315
switch(config-erspan-src)# mtu 200
switch(config-erspan-src)# no shut
switch(config-erspan-src)#
Configuring ERSPAN Sampling
You can configure sampling for local and ERSPAN-source sessions only. SPAN and ERSPAN Sampling,
on page 144 provides more information about sampling.
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 a range for spanning packets. If the range is
defined as n, every nth packet will be spanned.
switch(config-erspan-src)# sampling
sampling-range
Step 3
The sampling range is between 2 and 1023.
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 6.x
172
Configuring ERSPAN
Configuring ERSPAN Sampling

Table of Contents

Other manuals for Cisco Nexus 3548

Related product manuals