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

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

Advertisement

Configuring Sampling for Each SPAN Session

Configuring Sampling for Each SPAN Session
Beginning with Cisco NX-OS Release 6.1, you can configure a sampling range for spanned traffic in order
to reduce the SPAN traffic bandwidth and to monitor peer-to-peer traffic. Packet range-based sampling is
used to provide an accurate count of the SPAN 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 SPAN source rate limiting. Rate limiting takes effect after sampling is
completed on SPAN source packets.
Before You Begin
Ensure that you are in the correct VDC (or use the switchto vdc command).
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
308
Command or Action
configure terminal
Example:
switch# configure terminal
switch(config)#
monitor session session-number
Example:
switch(config)# monitor session 3
switch(config-monitor)#
monitor session session-number [rt | tx] [shut]
Example:
switch(config-monitor)# sampling 100
show monitor session {all | session-number
| range session-range} [brief]
Example:
switch(config-monitor)# show monitor
session 3
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Purpose
Enters global configuration mode.
Configures the sampling range for SPAN source
packets. The sampling value is the range in which
one packet out of x packets will be spanned,
where x is from 2 to 1023. In this example, 1 out
of every 100 packets will be spanned.
(Optional)
Displays the status of SPAN sessions, including
the configuration status of SPAN sampling, the
sampling value, and the modules on which
sampling is and is not supported.
(Optional)
Copies the running configuration to the startup
configuration.
Configuring SPAN

Advertisement

Table of Contents
loading

Table of Contents