Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

sample-rate

Syntax

Hierarchy Level

Description

Specify the number of egress or ingress packets out of which one packet is sampled. If no interface sampling rates are configured, the global sampling rates take effect. If neither is configured, by default both ingress and egress packet sampling are disabled.

Default

By default, both egress and ingress sampling rates are disabled.

Options

egress number—Value for egress sampling rate.

  • Range: 1 through 1,073,741,823

ingress number—Value for ingress sampling rate.

  • Range: 1 through 1,073,741,823

Required Privilege Level

routing—To view this statement in the configuration.routing-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 9.3.

The option number (which immediately followed sample-rate) is no longer available and options egress number and ingress number added in Junos OS Release 10.4 for EX Series switches.