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

show class-of-service rewrite-rule

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show class-of-service rewrite-rule
<name name> 
<type type>

Description

Display the mapping of forwarding classes and loss priority to code point values.

Options

none

Display all rewrite rules.

name name

(Optional) Display the specified rewrite rule.

type type

(Optional) Display the rewrite rule of the specified type. The rewrite rule type can be one of the following:

  • dscp—For IPv4 traffic.

  • dscp-ipv6—For IPv6 traffic.

  • exp—For MPLS traffic.

  • frame-relay-de—(SRX Series only) For Frame Relay traffic.

  • ieee-802.1—For Layer 2 traffic.

  • inet-precedence—For IPv4 traffic.

Required Privilege Level

view

Output Fields

Table 1 describes the output fields for the show class-of-service rewrite-rule command. Output fields are listed in the approximate order in which they appear.

Table 1: show class-of-service rewrite-rule Output Fields

Field Name

Field Description

Rewrite rule

Name of the rewrite rule.

Code point type

Type of rewrite rule: dscp, dscp-ipv6, exp, frame-relay-de, or inet-precedence.

Forwarding class

Classification of a packet affecting the forwarding, scheduling, and marking policies applied as the packet transits the router or switch.

Index

Internal index for this particular rewrite rule.

Loss priority

Loss priority for rewriting.

Code point

Code point value to rewrite.

Sample Output

show class-of-service rewrite-rule type dscp

content_copy zoom_out_map
user@host> show class-of-service rewrite-rule type dscp     
Rewrite rule: dscp-default, Code point type: dscp
  Forwarding class                    Loss priority       Code point
  gold                                high                000000         
  silver                              low                 110000         
  silver                              high                111000         
  bronze                              low                 001010         
  bronze                              high                001100         
  lead                                high                101110         

Rewrite rule: abc-dscp-rewrite, Code point type: dscp, Index: 3245
Forwarding class                    Loss priority       Code point
  gold                                low                 000111         
  gold                                high                001010         
  silver                              low                 110000         
  silver                              high                111000         
  bronze                              high                001100         
  lead                                low                 101110         
  lead                                high                110111

Release Information

Command introduced before Junos OS Release 7.4.

footer-navigation