
Description:
Use this command to delete.
Command Syntax:
delete filter expr entry expridName | Description |
|
|
| |
|
|
|
|
|
|
exprid | Unique identifier for a filter expression. | ||||
| Type: | Create | Mandatory | ||
|
| Delete | Mandatory | ||
|
| Get | Optional | ||
| Valid values: 1 |
| |||
|
| ||||
exprstring | Expression string contains the expression relating the subrules of a | ||||
rule using the & (AND), (OR), ! (NOT) operators, parenthesis (for | |||||
| precedance) and actions to be executed. Valid actions are drop, | ||||
| allow, setprio, sendtocontrol, retagprio, copytocontrol, gotonextrule, | ||||
| forwardexit. If 'ruleDir' value is 'out', only drop, allow, gotonextrule and | ||||
| forwardexit action types are valid. For eg. "(12):drop" will be used to | ||||
| drop all packets which match subrules 1 or 2. | ||||
| Type: | Create | Mandatory | ||
|
|
|
|
|
|
Example:
$ create filter expr entry exprid 1 exprstring “(12):drop”
Output:
Verbose Mode On
Entry Created
Expr Id | : 1 |
Exprstring : (12):drop
Verbose Mode Off:
Entry Created
370 | IDL series User Guide |
|
|