Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Example: Defining Code-Point Aliases for Bits on a Security Device

This example shows how to define code-point aliases for bits on a device.


Before you begin, determine which default mapping to use. See Default CoS Values and Aliases.


In this example, you configure class of service and specify names and values for the CoS code-point aliases that you want to configure. Finally, you specify CoS value using the appropriate formats.



Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode in the Junos OS CLI User Guide.

To define code-point aliases for bits on a device:

  1. Configure class of service.

  2. Specify CoS values.

  3. If you are done configuring the device, commit the configuration.


To verify the configuration is working properly, enter the show class-of-service code-point-aliases dscp command.