traffic-class (loss)
Syntax
traffic-class tc-value { average-sample-size sample size; loss-threshold loss threshold value; loss-threshold-window number of samples for loss threshold; measurement-quantity bytes|packets; query-interval milliseconds; }
Hierarchy Level
[edit protocols mpls oam performance-monitoring querier loss], [edit protocols mpls label-switched-path lsp-name oam performance-monitoring querier loss], [edit protocols mpls label-switched-path lsp-name primary path-name oam performance-monitoring querier loss], [edit protocols mpls label-switched-path lsp-name secondary path-name oam performance-monitoring querier loss]
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 |
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.