beautypg.com

Planet Technology IP DSLAM IDL-4801 User Manual

Page 386

background image

IDL series User Guide

386

applywhenreq enable

|disable

This specifies whether this rule is to be applied only when required.

Rule description field is mandatory if this field is set to value 'enable'.

This field can be modified only if 'status' has the value 'disable'. This

field is ignored if the 'ruleAction' has value 'clfrdef'.

Type: Create - Optional

Modify - Optional

Default value: disable

pkttype Mcast | Bcast

|Ucast

This field specifies the types of packets on which this rule is to be

applied. 'Mcast' means this rule is valid for multicast packets, 'Bcast'

means this rule is valid for broadcast packets and 'Ucast' means this

rule is valid for unicast packets. This field is valid only if 'ruleDir' is

'out'. This field can be modified only if 'status' has the value 'disable'.

Type: Create - Optional

Modify - Optional

Default value: Ucast

snooplevel interface

|bridge

Snoop level specifies whether packet will be snooped directly from

Interface or from Bridge after applying Bridging functionality .If none

of the Rule actions is 'sendtoControl' or 'copytocontrol', then this field

has no significance. This field can be modified only if 'status' has the

value 'disable'. Type: Create - Optional

Modify - Optional

Default value: interface

exprid <exprid-val>

Identifies the expression id from the Generic Filter Expression Table

to be used. This field is used only if 'ruleAction' is 'exprdef'. In

absence of this field, the default relationship between all subrules is

all ANDed.

Type: Create - Optional

Modify - Optional

Valid values: 1 - 65535

Default value: 0

Example:

$ create filter rule entry ruleid 1 action setprio description lacp priority 7 status

enable statsstatus disable ruleprio high ruledir in applywhenreq disable pkttype

Ucast snooplevel interface exprid exprid 1 actionval 0x00000000 actionmask

0xffffffff

This manual is related to the following products: