Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

sampling (Protocols MPLS)

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 14.2.

Statement introduced in Junos OS Release 17.2R1 for the QFX Series switches.

Description

Configure traffic sampling. By default, sampling mode is set to Max Aggregate which means the system will compare each new sample with the previous sample. If the new sample is higher than the old sample, then the newer sample is considered Sampled Aggregate bandwidth

Max Aggregate Example

If normalization happens every 20min (T0, T20, T40..) then if at time T0 the traffic rate is 185Gbps, and subsequently drops to 7.5Gbps at time T3, the max-aggregate sample for the current normalization window T0-T20 will be 185Gbps. When the current normalization window expires at time T20, we use the previous sampled max-aggregate of 185Gbps to calculate the split/merge activities of the next (or now current) normalization window between T20 – T40. If traffic remains at 7.5Gbps for this second normalization period, then at time T40 the max-aggregate sample of 7.5Gbps would then be used for split/merge activities. Even though traffic volumes dropped at time T3, LSP split/merge activities would not occur until time T40 which might be unexpected. This default behavior can be modified with use-average-aggregate or use-percentile to achieve alternative normalization behavior if desired.

Options

cut-off-threshold percentileSpecify the percentile value to be used as a cut-off threshold in removing outlier bandwidth samples. All the aggregate bandwidth samples determined as outliers are used for computing aggregate bandwidth used at the time of normalization.

Default: 0 percentile (the ingress considers all aggregate bandwidth samples for normlaization.)

Range: 0 through 100

use-average-aggregateSpecify the ingress router to take average of the aggregate samples for normalization.

This option is mutually exclusive with the use-percentile configuration option.

use-percentile percentileSpecify the ingress router to compute and use the pth percentile from all the bandwidth samples, and use that for normalization.

This option is mutually exclusive with the use-average-aggregate configuration option.

Range: 0 through 100

Required Privilege Level

routing—To view this statement in the configuration.

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

Related Documentation