beautypg.com

3 delete filter expr entry – Planet Technology IP DSLAM IDL-4801 User Manual

Page 370

background image

IDL series User Guide

370

5.13.15.3 Delete filter expr entry

Description:

Use this command to delete.

Command Syntax:

delete filter expr entry exprid

Parameter

Name

Description

exprid

Unique identifier for a filter expression.

Type: Create -- Mandatory

Delete -- Mandatory

Get -- Optional

Valid values: 1 -65535

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. "(1|2):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 “(1|2):drop”

Output:

Verbose Mode On

Entry Created

Expr Id : 1

Exprstring : (1|2):drop

Verbose Mode Off:

Entry Created

This manual is related to the following products: