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 classifier

date_range 13-Mar-24

Syntax

content_copy zoom_out_map
show class-of-service classifier
<name name>
<type dscp | type dscp-ipv6 | type exp | type ieee-802.1 | type inet-precedence>

Description

For each class-of-service (CoS) classifier, display the mapping of code point value to forwarding class and loss priority.

Options

none

Display all classifiers.

name name

(Optional) Display named classifier.

type dscp

(Optional) Display all classifiers of the Differentiated Services code point (DSCP) type.

type dscp-ipv6

(Optional) Display all classifiers of the DSCP for IPv6 type.

type exp

(Optional) Display all classifiers of the MPLS experimental (EXP) type.

type ieee-802.1

(Optional) Display all classifiers of the ieee-802.1 type.

type inet-precedence

(Optional) Display all classifiers of the inet-precedence type.

Required Privilege Level

view

Output Fields

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

Table 1: show class-of-service classifier Output Fields

Field Name

Field Description

Classifier

Name of the classifier.

Code point type

Type of the classifier: exp (not on EX Series switch), dscp, dscp-ipv6 (not on EX Series switch), ieee-802.1, or inet-precedence.

Index

Internal index of the classifier.

Code point

Code point value used for classification

Forwarding class

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

Loss priority

Loss priority value used for classification. For most platforms, the value is high or low. For some platforms, the value is high, medium-high, medium-low, or low.

Sample Output

show class-of-service classifier

content_copy zoom_out_map
user@host>show class-of-service classifier
Classifier: dscp-default, Code point type: dscp, Index: 7
  Code point       Forwarding class       Loss priority
  000010           best-effort            low
  000011           assured-forwarding     high
  110111           network-control        low
  111111           expedited-forwarding   high

Classifier: dscp-ipv6-default, Code point type: dscp-ipv6, Index: 8
  Code point       Forwarding class       Loss priority
  000010           best-effort            low
  000011           assured-forwarding     high
  110111           network-control        low
  111111           expedited-forwarding   high

Classifer: exp-default, Code point type: exp, Index: 10
  Code point       Forwarding class       Loss priority
  010              best-effort            low
  011              assured-forwarding     high
  110              network-control        low
  111              expedited-forwarding   high

Classifier: ieee8021p-default, Code point type: ieee-802.1, Index: 11
  Code point       Forwarding class       Loss priority
  010              best-effort            low
  011              assured-forwarding     high
  110              network-control        low
  111              expedited-forwarding   high

Classifier: ipprec-default, Code point type: inet-precedence, Index: 12
  Code point       Forwarding class       Loss priority
  010              best-effort            low
  011              assured-forwarding     low
  110              network-control        low
  111              expedited-forwarding   high

Classifier: ipprec-compatibility, Code point type: inet-precedence, Index: 13
  Code point       Forwarding class       Loss priority
  010              best-effort            low
  110              network-control        high

Classifier: ieee8021p-untrust, Code point type: ieee-802.1, Index: 16
  Code point       Forwarding class       Loss priority
  000              best-effort            low
  001              best-effort            low

Classifier: dscp-mcast, Code point type: dscp, Index: 17
  Code point       Forwarding class       Loss priority
  000010           mcast-be               low
  000011           mcast-be               low
  110011           mcast-nc               low
  111000           mcast-nc               low

Classifier: ieee8021ad-default, Code point type: ieee-802.1ad, Index: 42
  Code point       Forwarding class       Loss priority
  0000             best-effort            low
  0110             best-effort            high
  0111             assured-forwarding     low
  1100             network-control        low
  1110             expedited-forwarding   high

Classifier: ieee-mcast, Code point type: ieee-802.1, Index: 47
  Code point       Forwarding class       Loss priority
  000              mcast-be               low
  010              mcast-be               low
  110              mcast-nc               low
  111              mcast-nc               low

Classifier: dscp-v6-mcast, Code point type: dscp-ipv6, Index: 46
  Code point       Forwarding class       Loss priority
  000010           mcast-be               low
  000011           mcast-be               low
  110011           mcast-nc               low
  111000           mcast-nc               low

show class-of-service classifier type ieee-802.1

content_copy zoom_out_map
user@host> show class-of-service classifier type ieee-802.1              
Classifier: ieee802.1-default, Code point type: ieee-802.1, Index: 3
Code Point         Forwarding Class                  Loss priority
  000              best-effort                         low         
  001              best-effort                         high        
  010              expedited-forwarding                low         
  011              expedited-forwarding                high        
  100              assured-forwarding                  low         
  101              assured-forwarding                  medium-high 
  110              network-control                     low         
  111              network-control                     high        

Classifier: users-ieee802.1, Code point type: ieee-802.1
  Code point         Forwarding class                    Loss priority
  100                expedited-forwarding                low 

show class-of-service classifier type ieee-802.1 (QFX Series)

content_copy zoom_out_map
                 user@switch>                  show class-of-service classifier type ieee-802.1              
Classifier: ieee8021p-default, Code point type: ieee-802.1, Index: 11
  Code point         Forwarding class                    Loss priority
  000                best-effort                         low         
  001                best-effort                         low         
  010                best-effort                         low         
  011                fcoe                                low         
  100                no-loss                             low         
  101                best-effort                         low         
  110                network-control                     low         
  111                network-control                     low         

Classifier: ieee8021p-untrust, Code point type: ieee-802.1, Index: 16
  Code point         Forwarding class                    Loss priority
  000                best-effort                         low         
  001                best-effort                         low         
  010                best-effort                         low         
  011                best-effort                         low         
  100                best-effort                         low         
  101                best-effort                         low         
  110                best-effort                         low         
  111                best-effort                         low         

Classifier: ieee-mcast, Code point type: ieee-802.1, Index: 46
  Code point         Forwarding class                    Loss priority
  000                mcast                               low         
  001                mcast                               low         
  010                mcast                               low         
  011                mcast                               low         
  100                mcast                               low         
  101                mcast                               low         
  110                mcast                               low         
  111                mcast                               low    

Release Information

Command introduced before Junos OS Release 7.4.

footer-navigation