Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

traffic-class (loss)

Syntax

Hierarchy Level

Description

Configure traffic class specific options.

Specify the traffic classes for which loss measurement has to be performed. This parameter takes one of the tc-all|tc-0|tc-1|tc-2|tc-3|tc-4|tc-5|tc-6|tc-7|tc-none traffic-class values. For each traffic class, you can configure the respective parameters.

To enable traffic-class parameters, configure the traffic-class-statistics configuration statement under the [edit protocol mpls statistic] hierarchy level.

Options

average-sample-size sample size

(Optional) Specify the number of samples used for calculating the average of various metrics.

  • Default: 5

  • Range: 1 through 30

loss-threshold loss threshold value

Specify the threshold value that will be used with loss-threshold-window to calculate the loss within specified window size.

  • Range: 1 through 4294967295

loss-threshold-window number of samples for loss threshold

Specify the number of samples used for loss threshold calculation.

  • Range: 1 through 30

measurement-quantity bytes|packets

(Optional) Specify whether packet or byte loss is being measured at the querier.

  • Default: packets

query-interval milliseconds

Specify the minimum transmit interval, which signifies how often the loss measurement message is generated from the querier.

  • Default: 10 seconds

  • Range: 1000 through 4294967295 milliseconds

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 15.1.