show class-of-service rewrite-rule
Syntax
Release Information
Command introduced before Junos OS Release 7.4.
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 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 dscpOutput 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
