traffic-class (loss)
语法
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; }
层次结构级别
[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]
说明
配置流量类特定选项。
指定必须执行损失测量的流量类别。参数采用其中一个 tc-all|tc-0|tc-1|tc-2|tc-3|tc-4|tc-5|tc-6|tc-7|tc-none 流量类值。您可以为每个流量类配置相应的参数。
要启用流量类参数,请在 traffic-class-statistics
层级下 [edit protocol mpls statistic]
配置配置语句。
选项
average-sample-size sample size | (可选)指定用于计算各种指标平均值的样本数量。 |
默认:5
范围:1 到 30
loss-threshold loss threshold value | 指定用于 |
范围:1 到 4294967295
loss-threshold-window number of samples for loss threshold | 指定用于计算损失阈值的样本数量。 |
范围:1 到 30
measurement-quantity bytes|packets | (可选)指定是在查询器处测量数据包或字节丢失。 |
默认:包
query-interval milliseconds | 指定最小传输间隔,表示从查询器生成损耗测量消息的频率。 |
默认:10 秒
范围:1000 到 4294967295 毫秒
必需的权限级别
路由 — 在配置中查看此语句。
路由控制 — 将此语句添加到配置中。
发布信息
在 Junos OS 15.1 版中引入的语句。