# mask-val

#### Syntax

[ no ] mask-val value

#### Release Information

Command introduced before JunosE Release 7.1.0.
Color Mark Profile Configuration mode added in JunosE Release 7.2.0.

#### Description

Sets the mask value. For rate limits, use this command with the committed-action, conformed-action, and exceeded-action commands. For color-mark profiles, use the mask-val command in Color Mark Profile Configuration mode. The no version restores the default value, 255.

#### Options

- value—Mask value in the range 0–255. Use the following mask values to set the appropriate bits in the ToS field of the IP packet header:
  - IP Precedence—0xE0 (three most significant bits)
  - DS Field—0xFC (six significant bits)
  - TOS (IP) or Traffic Class field (IPv6)—0xFF (default)

#### Mode

Color Mark Profile Configuration, Rate Limit Profile Configuration

#### Related Documentation

- Creating a Two-Rate Rate-Limit Profile
- Setting the Mask Value for MPLS Rate-Limit Profiles
- Setting the Mask Value for IP and IPv6 Rate-Limit Profiles