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]
Release Information
Statement introduced before JUNOS Release 7.4.
ieee-802.1ad option introduced in JUNOS Release 9.2.
Description
Specify a rewrite-rules mapping for the traffic that passes through all queues on the interface.
Options
rewrite-name—Name of a rewrite-rules mapping.
type—Traffic type.
- Values: dscp, dscp-ipv6, exp, frame-relay-de (J Series routers only), ieee-802.1, ieee-802.1ad, inet-precedence
The remaining statements are explained separately.
Usage Guidelines
See Example: Configuring CoS for a PBB Network on MX Series Routers, Configuring Rewrite Rules, and the J Series router documentation.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.