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.
![]() |
Note: If you configure a 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. |
If you configure a 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:
- policies group name list name rule name mark name {
- description description ;
- }
- policies group name list name rule name mark name info {
- value value ;
- mask mask ;
- }
To configure a mark action:
- user@host# edit policies group junose list
mark rule pr mark markAction
- [edit policies group junose list mark rule pr mark markAction]
- user@host# set description description
- [edit policies group junose list mark rule pr mark markAction]
- user@host# set info value value
- [edit policies group junose list mark rule pr mark markAction]
- user@host# set info mask mask
Supported values for the mask are 224 for precedence bits, 252 for DS bits, and 255 to mask all bits.
[edit policies group junose list mark rule pr mark markAction]
user@host# show
info {
mark-value 10;
mask 255;
}
description "Mark action";