TAP Series Switch Command Line Reference
Related Commands
show sflow
15.6 sflow flow-sampling rate
Use this command to configure flow sampling rate.
Use the no form of this command to restore the default value.
Command Syntax
sflow flow-sampling rate RATE
no sflow flow-sampling rate
Sample rate value, must be a power of 2
Command Mode
Interface Configuration
Default
32768
Usage
Use this command to set sFlow packet sampling rate. The rate value is packet number. When
the value is 32768, one packet will be sampled when 32768 packets are passed, sFlow uses
CPU resources to collect samples and send samples to the collector. If a low sampling rate is
set, CPU utilization can become high. To protect CPU from overwhelming, exceeded flow
samples would be dropped. If a sampling rate less than default value is configured, a prompt
will be given to info the potential of involving a high CPU utilization. This command can only
be configured on a port which is not a link-agg group member. The port can be either a
physical port or a link-agg port.
Examples
This example shows how to set the sFlow sampling rate to 2048 on eth-0-1: