S Commands
sampling
366
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
sampling
To set the sampling range for Switched Port Analyzer (SPAN) packets, use the sampling command. To
revert to the default settings, use the no form of this command.
sampling range
no sampling
Syntax Description
Defaults None
Command Modes Sampling only applies to local SPAN (config-monitor) and ERSPAN source session
(config-monitor-erspan-src) configuration.
Supported User Roles network-admin
vdc-admin
Command History
Usage Guidelines This command does not require a license.
Examples This example shows how to set the sampling range for the SPAN packets:
switch(config)# monitor session 3 type erspan-source
switch(config-erspan-src)# sampling 100
switch(config-monitor)#
Related Commands
range Sampling range. Every nth packet will be spanned. The range is from 2 to
1023.
Release Modification
6.1(1) This command was introduced.
Command Description
monitor session Enters the monitor configuration mode.