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 translation-table

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show class-of-service translation–table
<name translation-table-name> |
<type (to-dscp–from–dscp | to-dscp-ipv6–from–dscp–ipv6 | to-exp–from–exp | to-inet-precedence-from-inet-precedence)>

Description

Display the mapping of class-of-service (CoS) translation table code points to corresponding bit patterns.

Options

none

Display translation table code points for all translation tables.

name

(Optional) Display information for the named translation table.

type

(Optional) Display information for a certain translation table type:

to-dscp-from-dscp

Display DSCP translation table information.

to-dscp-ipv6-from-dscp-ipv6

Display DSCP IPv6 translation table information.

to-exp-from-exp

Display MPLS EXP translation table information.

to-inet-precedence-from-intet-precedence

Display Internet precedence translation table information.

Required Privilege Level

view

Output Fields

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

Table 1: show class-of-service translation-table Output Fields

Field Name

Field Description

Translation Table

Name of the translation table.

Translation table type

Type of the translation table.

Index

Internal index number of the translation table.

From Code Point

Value of code point received.

To Code Point

Value of translated code point.

Sample Output

show class-of-service translation-table

content_copy zoom_out_map
user@host> show class-of-service translation-table
Translation Table: inet-trans-table, Translation table type: inet-to-inet, Index: 61075
  From Code point    To Code Point
  000                            101
  001                            111
  010                            101
  011                            111
  100                            101
  101                            101
  110                            001
  111                            000

Translation Table: dscp-trans-table, Translation table type: dscp-to-dscp, Index: 6761
  From Code point    To Code Point
  000000                      000111
  000001                      000111
  000010                      000111
  000011                      000111
  000100                      000111
  000101                      000111
  000110                      000111
  000111                      111000
  001000                      000111
  001001                      000111
  001010                      000111
  001011                      000111
  001100                      000111
  001101                      000111
  001110                      000111
  001111                      000111
  010000                      000111
  010001                      000111
  010010                      000111
  010011                      000111
  010100                      000111
  010101                      000111
  010110                      000111
  010111                      000111
  011000                      000111
  011001                      000111
  011010                      000111
  011011                      000111
  011100                      000111
  011101                      000111
  011110                      000111
  011111                      000111
  100000                      000111
  100001                      000111
  100010                      000111
  100011                      000111
  100100                      000111
  100101                      000111
  100110                      000111
  100111                      111000
  101000                      000111
  101001                      000111
  101010                      000111
  101011                      000111
  101100                      000111
  101101                      000111
  101110                      000111
  101111                      000111
  110000                      000111
  110001                      000111
  110010                      000111
  110011                      000111
  110100                      000111
  110101                      000111
  110110                      000111
  110111                      000111
  111000                      000111
  111001                      000111
  111010                      000111
  111011                      000111
  111100                      000111
  111101                      000111
  111110                      000001
  111111                      000000

show class-of-service translation-table name exp-trans-table

content_copy zoom_out_map
user@host> show class-of-service translation-table name exp-trans-table
Translation Table: exp-trans-table, Translation table type: exp-to-exp, Index: 9048
  From Code point    To Code Point
  000                            101
  001                            111
  010                            101
  011                            111
  100                            101
  101                            101
  110                            001
  111                            000
  

show class-of-service translation-table type to-dscp-ipv6-from-dscp-ipv6

content_copy zoom_out_map
user@host> show class-of-service translation-table type to-dscp-ipv6-from-dscp-ipv6
Translation Table: dscp-ipv6-trans-table, Translation table type: dscp-ipv6-to-dscp-ipv6, Index: 64704
  From Code point    To Code Point
  000000                      000111
  000001                      000111
  000010                      000111
  000011                      000111
  000100                      000111
  000101                      000111
  000110                      000111
  000111                      111000
  001000                      000111
  001001                      000111
  001010                      000111
  001011                      000111
  001100                      000111
  001101                      000111
  001110                      000111
  001111                      000111
  010000                      000111
  010001                      000111
  010010                      000111
  010011                      000111
  010100                      000111
  010101                      000111
  010110                      000111
  010111                      000111
  011000                      000111
  011001                      000111
  011010                      000111
  011011                      000111
  011100                      000111
  011101                      000111
  011110                      000111
  011111                      000111
  100000                      000111
  100001                      000111
  100010                      000111
  100011                      000111
  100100                      000111
  100101                      000111
  100110                      000111
  100111                      111000
  101000                      000111
  101001                      000111
  101010                      000111
  101011                      000111
  101100                      000111
  101101                      000111
  101110                      000111
  101111                      000111
  110000                      000111
  110001                      000111
  110010                      000111
  110011                      000111
  110100                      000111
  110101                      000111
  110110                      000111
  110111                      000111
  111000                      000111
  111001                      000111
  111010                      000111
  111011                      000111
  111100                      000111
  111101                      000111
  111110                      000001
  111111                      000000
  

Release Information

Command introduced in Junos OS Release 9.3.

footer-navigation