configure sflow sample-rate
configure sflow sample-rate
configure sflow sample-rate <number>
Description
Configures the sFlow default sampling rate.
Syntax Description
number
Specifies the fraction (1/number) of packets to be sampled.
Default
The default number is 8192.
Usage Guidelines
This command configures the default sampling rate. The rate is rounded off to the next power of two,
so if 400 is specified, the sample rate is configured as 512. The valid range is 1 to 536870912.
Configuring a lower number for the sample rate means that more samples will be taken, increasing the
load on the switch. Do not configure the sample rate to a number lower than the default unless you are
sure that the traffic rate on the source is low.
Example
The following command sets the sample rate to one packet out of every 16384:
configure sflow sample-rate 16384
History
This command was first available in ExtremeWare XOS 11.0.
ExtremeWare XOS 11.0 Command Reference Guide
335