For sFlow, sets the number of packets that are skipped before the next sample is taken.
The default value is 2048 packets for all platforms.
Global Configuration Mode, Interface Mode
Sample-rate is the average number of packets skipped before the next sample is taken.
The no form of this command restores the default sampling rate.
Note
For the SLX 9740 and Extreme 8820 devices, the configurable sample rate value is 1-16000000.
For all other platforms, the configurable sample rate value is 1-100000.
This example shows how to change the sampling rate to 4096:
SLX# configure terminal SLX (config) # sflow sample-rate 4096 SLX (config)#
This example shows how to configure sampling rate to 4096 on to an specific ethernet interface.
SLX# configure terminal SLX (config) # SLX (config)# interface ethernet 0/25:2 SLX (conf-if-eth-0/25:2)# sflow sample-rate 4096 SLX (conf-if-eth-0/25:2)#