Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

sample-rate

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
sample-rate {
    egress number;
    ingress number;
}

Hierarchy Level

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

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.

footer-navigation