Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?




Hierarchy Level


Configure and back up the adaptive sampling rate in sFlow monitoring technology configurations.

Routers and switches use adaptive sampling to ensure both sampling accuracy and efficiency. Adaptive sampling is a process of monitoring the overall incoming traffic rate on the network device and providing intelligent feedback to interfaces to dynamically adapt the sampling rates on interfaces on the basis of traffic conditions.


Adaptive sampling is enabled by default.

You can use this adaptive-sample-rate configuration statement to change the default adaptive sampling from 300 pps to any other value.



Configure the maximum number of samples that should be generated per line card.

    • Default: 300 pps


    On QFX Series switches, if you override the adaptive sampling rate from the default 300 pps, you might observe a high CPU utilization.

  • Range: 300 through 9500 pps


Enable adaptive sampling fallback (also called reverse adaptive sampling).


Explicitly specify the threshold value in packets per second (pps) for each line card. You must configure the fallback statement to be able to configure the sample-limit-threshold statement.

  • Range: 0 through 4750 pps.

Required Privilege Level

routing—To view this statement in the configuration.routing-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 12.3R2.

adaptive-sample-rate limit is increased in Junos OS Release 19.1R1.