Configuring DSCP Rewrite for the 10-Gigabit Ethernet LAN/WAN PIC
To configure DSCP rewrite, use the rewrite-rules
statement at the class-of-service interfaces interface-name unit logical-unit-number
hierarchy level,
as shown in the following configuration example:
[edit class-of-service interfaces interface-name unit logical-unit-number] rewrite-rules { dscp (rewrite-name | <default>); dscp-ipv6 (rewrite-name | <default>); exp (rewrite-name | <default>) protocol <protocol-types>; exp-push-push-push <default>; exp-swap-push-push <default>; ieee-802.1 (rewrite-name | <default>) vlan-tag (outer | outer-and-inner); inet-precedence (rewrite-name | <default>) protocol <protocol-types>; }
To configure DSCP rewrite rules, use the rewrite-rules
statement’s (<dscp> | <dscp-ipv6>) option’s subordinate
rewrite rules statements at the edit class-of-service
hierarchy
level, as shown in the following configuration example:
[edit class-of-service
]
rewrite-rules {
(<dscp> | <dscp-ipv6> | <exp> | <ieee-802.1> | <inet-precedence>) <rewrite-name> {
import (rewrite-name | <default>);
forwarding-class class-name {
loss-priority level code-point (alias | bits);
}
}
}