[Contents] [Prev] [Next] [Index] [Report an Error]

rewrite-rules

See the following sections:

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

The remaining statements are explained separately.

Usage Guidelines

See Configuring Rewrite Rules and Rewriting Frame Relay Headers.

Required Privilege Level

interface—To view this statement in the configuration.

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

rewrite-rules (Interfaces)

Syntax

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;
frame-relay-de (rewrite-name | default);
ieee-802.1 (rewrite-name | default) vlan-tag (outer | outer-and-inner);
inet-precedence (rewrite-name | default);
}

Hierarchy Level

[edit class-of-service interfaces interface-name unit logical-unit-number]

Release Information

Statement introduced before JUNOS Release 7.4.

Description

Associate a rewrite-rules configuration or default mapping with a specific interface. On an MX-series router, exp-push-push-push, exp-swap-push-push, and frame-relay-de are not supported on an integrated bridging and routing (IRB) interface.

Options

rewrite-name—Name of a rewrite-rules mapping configured at the [edit class-of-service rewrite-rules] hierarchy level.

default—The default mapping.

The remaining statements are explained separately.

Usage Guidelines

See Configuring Rewrite Rules and Rewriting Frame Relay Headers.

Required Privilege Level

interface—To view this statement in the configuration.

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

Related Topics

rewrite-rules (Definition)


[Contents] [Prev] [Next] [Index] [Report an Error]