Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Configuring Mark Actions (SRC CLI)


Use this action to mark packets. You can configure mark actions for JunosE and PCMM policy rules.

The type of action that you can create depends on the type of policy rule. See Policy Information Model.


If you configure more than one mark action in a rate limit, for example, for a committed, conformed, or exceed action, configure the same mask for each action. If you use different masks, the results can be unpredictable.

Use the following configuration statements to configure a mark action:

To configure a mark action:

  1. From configuration mode, enter the mark action configuration.

  2. (Optional) Enter a description for the mark action.

  3. (Optional) Configure the mark value.

  4. (Optional) Configure the mark mask.

    Supported values for the mask are 224 for precedence bits, 252 for DS bits, and 255 to mask all bits.

  5. (Optional) Verify the mark action configuration.