Defining CoS Code-Point Aliases (CLI Procedure)
You can use code-point aliases to streamline the process of configuring CoS features on your EX Series switch. A code-point alias assigns a name to a pattern of code-point bits. You can use this name instead of the bit pattern when you configure other CoS components such as classifiers, drop-profile maps, and rewrite rules.
You can configure code-point aliases for the following CoS marker types:
dscp and dscp-ipv6—Handles incoming IPv4 and IPv6 packets, respectively.
ieee-802.1—Handles Layer 2 CoS.
inet-precedence—Handles incoming IPv4 packets. IP precedence mapping requires only the higher order three bits of the DSCP field.
To configure a code-point alias for a specified CoS marker type (dscp), assign an alias (my1) to the code-point (110001):
[edit class-of-service code-point-aliases] user@switch# set dscp my1 110001
The my1 alias will be applicable for incoming IPv4 packets.