Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

rewrite-rules (Definition)

date_range 31-May-24

Syntax

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

Hierarchy Level

content_copy zoom_out_map
[edit class-of-service]

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. 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 in Release 8.5 of Junos OS.

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

footer-navigation