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 9.3 for EX Series switches.
Description
Set the ratio of the number of packets to be sampled in sFlow network traffic monitoring. For example, if you specify a rate of 1000, every thousandth packet (1 packet out of 1000) is sampled.
Default
If no sample rate is configured for a particular interface, the switch samples at the rate configured for the global sFlow configuration. If no global rate is configured, the switch samples 1 in 2000 packets.
Options
number—Denominator of the ratio that composes the sample rate.
- Range: 100–1,048,576
- Default: 2000
Required Privilege Level
routing—To view this statement in the
configuration.
routing-control—To add this statement
to the configuration.
