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 policy-map

date_range 20-Mar-24

Syntax

content_copy zoom_out_map
show class-of-service policy-map
<policy-map-name> 
<type (configured | reserved)>

Description

Display class of service (CoS) policy map information.

Options

policy-map-name

(Optional) Enter the name of a policy map to show only the information for that policy map. Otherwise, information for all policy maps is displayed.

type

(Optional) Display information about different types of policy maps.

configured

Display user configured policy maps.

reserved

Display reserved policy map name-to-ID mapping.

Required Privilege Level

view

Output Fields

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

Table 1: show class-of-service policy-map Output Fields

Field Name

Field Description

Type

The type of packet marking to rewrite.

Code Point

The code point the packet marking should be rewritten to.

Option

The type of the traffic the packet marking should be rewritten for.

Sample Output

show class-of-service policy-map

content_copy zoom_out_map
user@host> show class-of-service policy-map
Policy-map: P-1, Index: 1
  Type              Code Point  Option
  inet-precedence        110    (proto-ip)
  inet-precedence        110    (proto-mpls)
  dscp-ipv6           101010    (proto-ip)
  dscp-ipv6           101010    (proto-mpls)
  exp                    110    (all-label)
  exp                    111    (outer-label)
  ieee-802.1ad          0110    (outer-and-inner)

Release Information

Command introduced in Junos OS Release 16.1.

footer-navigation