rewrite-rules (Definition)
Syntax
rewrite-rules {
type rewrite-name {
import (rewrite-name | default);
forwarding-class class-name {
loss-priority level code-point [ aliases ] [ bit-patterns ];
}
}
}
Hierarchy Level
[edit class-of-service]
Description
Configure rewrite rules that map traffic to code points when traffic exits the system. You then apply the rewrite rules to egress interfaces.
Options
rewrite-name—Name of a
rewrite-rules mapping.
type—Traffic type.
-
Values:
dscp,dscp-ipv6,exp,ieee-802.1,ieee-802.1ad,inet-precedence,inet6-precedence
The remaining statements are explained separately. See CLI Explorer.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.
ieee-802.1ad option introduced in Junos OS Release 9.2.