Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
{ "lCode": "en_US", "lName": "English", "folder": "en_US" }
English
 

sample-rate (QFX Series)

date_range 18-Mar-20

Syntax

content_copy zoom_out_map
sample-rate number;

Hierarchy Level

content_copy zoom_out_map
[edit protocols sflow],
[edit protocols sflow interfaces interface-name]

Release Information

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.

Description

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.

Default

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.

Options

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 configuration.
routing-control—To add this statement to the configuration.

footer-navigation