disable-sw-rate-limiter
Syntax
Hierarchy Level
Release Information
Statement introduced in Junos OS Release 17.2R1 for QFX10000 Series switches.
Statement introduced in Junos OS Release 18.2R1 for PTX Series routers.
Description
Configure the sFlow sampling rate to stay within the maximum accurate sampling rate: In sFlow, packet-based sampling is implemented in the hardware, so that all the interfaces can be monitored with very little overhead. However, if traffic levels are unusually high, the hardware generates more samples than it can handle. The extra samples are dropped by the software rate-limiting algorithm and can cause inaccurate results. Enabling the disable-sw-rate-limiter statement disables the software rate-limiting algorithm and allows the hardware sampling rate to stay within the maximum sampling rate.
Packet-based sampling samples one packet out of a specified number of packets from an interface enabled for sFlow. The sampling rate is a fraction in the form 1/N, meaning that, on average, one out of every N packets will be sampled:
QFX10000 switches support a maximum sampling rate of 1 out of 65,536 packets. A rate of 5,000 samples per line card is supported on QFX10000 Series switches for sFlow technology.
PTX routers support a maximum sampling rate of 1 out of 64K packets.
Required Privilege Level
routing—To view this statement in the
configuration.
routing-control—To add this statement
to the configuration.