[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Configuring Mark Actions
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.
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:
- From configuration mode, enter the mark action configuration.
For example, in this procedure, markAction is the name of the mark
action.
- user@host# edit policies group junose list
mark rule pr mark markAction
- (Optional) Enter a description for the mark action.
- [edit policies group junose list mark rule pr mark markAction]
- user@host# set description description
- (Optional) Configure the mark value.
- [edit policies group junose list mark rule pr mark markAction]
- user@host# set info value value
- (Optional) Configure the mark mask.
- [edit policies group junose list mark rule pr mark markAction]
- user@host# set info mask mask
- (Optional) Verify the mark action configuration.
[edit policies group junose list mark rule pr mark markAction]
user@host# show
info {
mark-value 10;
mask 255;
}
description "Mark action";
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]