配置重写规则
您可以配置重写规则,以将从客户接收的数据包上的 DSCP 替换为其他路由器期望的值。重写规则使用路由器内部使用的转发类信息和丢包优先级 (PLP) 对出站数据包建立 DSCP。要配置重写规则,请在 rewrite-rules
层次结构级别添加语句 [edit class-of-service]
。
[edit class-of-service] rewrite-rules rewrite-IPv6-dscps { forwarding-class be-DATA-class { loss-priority low code points 000000; loss-priority high code points 000001; } forwarding-class ef-FIN-class { loss-priority low code points 101110; loss-priority high code points 101111; } forwarding-class af-AV-class { loss-priority low code points 001010; loss-priority high code points 001100; } forwarding-class nc-CONTROL-class { loss-priority low code points 110000; loss-priority high code points 110001; } }