Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    show class-of-service rewrite-rule

    Syntax

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

    Release Information

    Command introduced before Junos OS Release 7.4.

    Command introduced in Junos OS Release 11.1 for the QFX Series.

    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—(J Series routers only) For Frame Relay traffic.
    • ieee-802.1—For Layer 2 traffic.
    • inet-precedence—For IPv4 traffic.

    Required Privilege Level

    view

    List of Sample Output

    show class-of-service rewrite-rule type dscp
    show class-of-service rewrite-rule type dscp (QFX Series)

    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

    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
    

    Sample Output

    show class-of-service rewrite-rule type dscp (QFX Series)

    user@host> show class-of-service rewrite-rule type dscp
    Rewrite rule: dscp-default, Code point type: dscp, Index: 31
      Forwarding class                    Loss priority       Code point
      best-effort                         low                 000000         
      best-effort                         high                000000         
      fcoe                                low                 101110         
      fcoe                                high                101110         
      no-loss                             low                 001010         
      no-loss                             high                001100         
      network-control                     low                 110000         
      network-control                     high                111000         

    Published: 2013-08-15