ON THIS PAGE
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.
Requirements
Before you begin, determine which default mapping to use. See Default CoS Values and Aliases.
Overview
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.
Configuration
Procedure
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:
Configure class of service.
[edit] user@host# edit class-of-service
Specify CoS values.
[edit class-of-service] user@host# set code-point-aliases dscp my1 110001 user@host# set code-point-aliases dscp my2 101110 user@host# set code-point-aliases dscp be 000001 user@host# set code-point-aliases dscp cs7 110000
If you are done configuring the device, commit the configuration.
[edit] user@host# commit
Verification
To verify the configuration is working properly,
enter the show class-of-service code-point-aliases dscp
command.