
363
| (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.
8.13.16 Filter list genentry Commands
8.13.16.1 Get filter list genentry
Description: Use this command to get.
Command Syntax:
8.13.16.2
Create filter list genentry
Description: Use this command to create.
Command Syntax: create filter list genentry ifname <interface-
name>value <value-val>] [valtype U8 | U16 | U32]
8.13.16.3 Delete filter list genentry
Description: Use this command to delete.
Command Syntax: delete filter list genentry ifname <interface-
name> value <value-val>
Parameter
Name Description
ifname <interface-name>
Name of ethernet, eoa, ipoe or pppoe interface,
for which the generic filter generic list is created.
Valid values for the field are between EOA-0
and EOA-23 or between eth-0 and eth-1or
between IPOE-0 and IPOE-191 or between
PPPOE-0 and PPPOE-191.
Type: Create -- Mandatory
Delete -- Mandatory
Get -- Optional
value <value-val>
List Entry Value, for the generic filter generic
list. This value must be consistent with the
mentioned valuetype of generic list.
Type: Create -- Mandatory
Delete -- Mandatory
Get -- Optional
valtype U8 | U16 | U32
This field specifies value type of the entry. The
value type for all entries on an interface should
be same. Value type should match value type of
subrule field for which comparsion type is
ingenlist or notingenlist incase the rule
containing the subrule is attached on the same
interface. It should be 'U32' in case a rule
containing IP subrule or Generic subrule with
cmptype as InGenList or NotInGenList is
attached on same interface. Currently only 'U32'
value is supported.
Type: Create -- Optional
Default value: U32
Example
Kommentare zu diesen Handbüchern