Configuring Sampling For Each Erspan Session - Cisco Nexus 7000 Series Configuration Manual

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

Advertisement

Configuring ERSPAN
Step 5
Step 6
Step 7
Step 8

Configuring Sampling for Each ERSPAN Session

Beginning with Cisco NX-OS Release 6.1, you can configure a sampling range for spanned traffic in order
to reduce the ERSPAN traffic bandwidth and to monitor peer-to-peer traffic. Packet range-based sampling is
used to provide an accurate count of the ERSPAN source packets.
Sampling and MTU truncation can be enabled at the same time and have no precedence over each other
Note
because they are applied to different aspects of the source packet (packet count versus size). However,
sampling takes precedence over ERSPAN source rate limiting. Rate limiting takes effect after sampling
is completed on ERSPAN source packets.
Before You Begin
Ensure that you are in the correct VDC (or use the switchto vdc command).
Command or Action
switch(config-erspan-src)#
exit
switch(config)# exit
switch# show monitor
session session-number
switch# copy running-config
startup-config [vdc-all]
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
Configuring Sampling for Each ERSPAN Session
Purpose
on how many ports are used as the ERSPAN source so that
the source can be spanned at the maximum available
bandwidth. For egress traffic, the per-gigabyte limit is applied
to each forwarding engine of the F2 Series or F2e Series
module without considering how many ports are used as the
ERSPAN source.
• Manual mode—Specifies the percentage of the maximum rate
of ERSPAN packets that can be sent out from each forwarding
engine on a module. The range is from 1 to 100. For example,
if the rate limit is 10 percent, the maximum rate of ERSPAN
packets that can be sent out from each of the forwarding
engines on an F2 Series or F2e Series module is 1G (or 10
percent of the 10G line rate).
Exits monitor configuration mode.
Exits global configuration mode.
(Optional)
Displays the status of ERSPAN sessions, including the configuration
status of the rate limit, the percentage of the maximum ERSPAN
rate allowed per session, and the modules on which the rate limit
is and is not supported.
(Optional)
Copies the running configuration to the startup configuration.
345

Advertisement

Table of Contents
loading

Table of Contents