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
{ "lCode": "en_US", "lName": "English", "folder": "en_US" }
English
 

sample-rate

date_range 14-Feb-19

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]

Release Information

Statement introduced in Junos OS Release 9.3 for EX Series switches.

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.

Statement introduced in Junos OS Release 18.1R1 for MX Series routers.

Statement introduced in Junos OS Release 18.2R1 for PTX Series routers.

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.

footer-navigation