sample-rate (QFX Series)
Statement introduced in Junos OS Release 11.3 for the QFX Series.
Statement introduced in Junos OS Release 14.1X53-D20 for the OCX Series.
Statement introduced in Junos OS Release 17.2R1 for the ACX5000 line of routers.
Specify the denominator (number) of the ratio that is the sample rate in sFlow traffic monitoring. For example, to configure a sample rate of 1 in 1000 packets, you specify a number of 1000.
If no sample rate is configured for a particular interface, the device uses the global sample rate configured at the [edit protocols sflow] hierarchy level. If no global rate is configured, the device uses the default sample rate of 1 in 2000 packets.
number—Denominator of the ratio representing the sample rate (one packet out of number).
Range: 1 through 16,777,215
Required Privilege Level
routing—To view this statement in the
routing-control—To add this statement to the configuration.