Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?





Hierarchy Level

Release Information

Statement introduced in Junos OS Release 12.3R2 for EX Series switches.

Statement introduced in Junos OS Release 18.1R1 for MX Series routers.

Statement introduced in Junos OS Release 18.2R1 for PTX Series routers.

Statement introduced in Junos OS Release 18.3R1 for QFX Series switches.

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


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.


sFlow technology is disabled by default.


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

Range: 300 through 9500 pps

fallbackEnable adaptive sampling fallback (also called reverse adaptive sampling).
sample-limit-thresholdExplicitly 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.