Configuring A Source Rate Limit For Each Erspan Session - Cisco Nexus 7000 Series Configuration Manual

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring a Source Rate Limit for Each ERSPAN Session

Step 7
Step 8
Configuring a Source Rate Limit for Each ERSPAN Session
When an ERSPAN session is configured with multiple interfaces as the sources in a high-traffic environment,
the destination port can be overloaded, causing the normal data traffic to be disrupted at the source port.
Beginning with Cisco NX-OS Release 6.1, you can alleviate this problem as well as traffic overload on the
source forwarding instance by configuring a source rate limit for each ERSPAN session.
Note
ERSPAN sampling takes precedence over ERSPAN source rate limiting. Rate limiting takes effect after
sampling is completed on ERSPAN source packets.
Procedure
Step 1
Step 2
Step 3
Step 4
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
344
Command or Action
switch# show monitor session
session-number
switch# copy running-config
startup-config [vdc-all]
Command or Action
switch# configure terminal
switch(config)# monitor
session session-number type
erspan-source
switch(config-erspan-src)#
header-type version
switch(config-erspan-src)#
[no] rate-limit {auto |
rate-limit}
Purpose
(Optional)
Displays the status of ERSPAN sessions, including the
configuration status of MTU truncation, the maximum
bytes allowed for each packet per session, and the
modules on which MTU truncation is and is not
supported.
(Optional)
Copies the running configuration to the startup
configuration.
Purpose
Enters global configuration mode.
Enters the monitor configuration mode for the ERSPAN source
type and specifies the ERSPAN session for which the source rate
limit is to be configured.
(Optional)
Changes the ERSPAN source session from Type II to Type III.
Configures the source rate limit for ERSPAN packets in the
specified ERSPAN session in automatic or manual mode:
• Auto mode—Automatically calculates the rate limit on a
per-gigabyte basis as follows: destination bandwidth /
aggregate source bandwidth. For example, if the rate limit per
gigabyte is 0.5, for every 1G of source traffic, only 0.5G of
packets are spanned.
For ingress traffic, the per-gigabyte limit is applied to each
forwarding engine of the F2 Series or F2e Series module based
Configuring ERSPAN

Advertisement

Table of Contents
loading

Table of Contents