rewrite-rules (Definition)

Syntax

rewrite-rules {type rewrite-name{import (rewrite-name | default);forwarding-class class-name {loss-priority level code-point [ aliases ] [ 6–bit-patterns ];}}}

Hierarchy Level

[edit class-of-service]

Release Information

Statement introduced in Release 8.5 of Junos OS.

ieee-802.1ad option introduced in 9.2 of Junos OS.

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 only), ieee-802.1, ieee-802.1ad, inet-precedence

The remaining statements are explained separately.

Usage Guidelines

For configuration instructions and examples, see the Junos OS Class of Service Configuration Guide for Security Devices.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Related Topics

rewrite-rules (Interfaces)