Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

sample-rate

Syntax

sample-rate number;

Hierarchy Level

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

Release Information

Statement introduced in Junos OS Release 11.3 for the QFX Series.

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.

Published: 2014-07-23

Supported Platforms

Published: 2014-07-23