Planet Technology IDL-2401 Network Card User Manual


 
IDL series User Guide
384
Command Syntax:
modify filter rule entry ruleid <ruleid-val> [ action drop | allow | setprio |
sendtocontrol | retagprio | copytocontrol | clfrdef | gotonextrule | forwardexit |
exprdef | modifytos | setbaclevel | pktvlanid | retagvlanid | pktservicevlanid |
retagservicevlanid | retagserviceprio | ratelimiter | Mirror ] [ description
<description-val> ] [ priority <priority-val> ] [ status enable | disable ]
[ statsstatus enable | disable ] [ ruleprio low | high ] [ applywhenreq enable |
disable ] [ pkttype Mcast | Bcast | Ucast ] [ snooplevel interface | bridge ] [ exprid
<exprid-val> ] [ actionval <actionval-val> ] [ actionmask <actionmask-val> ]
Parameters:
Name Description
ruleid <ruleid-val >
Unique identifier of a filter rule.
Type: Create Mandatory
Delete Mandatory
Modify Mandatory
Get Optional
Valid values: 1-65535
action drop | allow
|setprio | sendtocontrol
|retagprio | copytocontrol|
clfrdef | gotonextrule
|forwardexit | exprdef
|modifytos | setbaclevel
|pktvlanid | retagvlanid
|pktservicevlanid
|retagservicevlanid
|retagserviceprio
|ratelimiter | Mirror
Action to be applied for the packets matching this filter rule. This field
can be modified only if 'ruleStatus' has the value 'disable'.
'exprdef(10)' action has a special significance that action is defined
in the expression. In this case the 'ExprId' field must be specified.
For other types of actions, the default relationship between subrules
is all ANDed. If 'ruleDir' value is 'out', 'clfrdef' and 'ratelimiter' action
types are invalid. If the action is 'clfrdef', then the rule can have at
most one subrule, that too of type 'clfrtree'. The actions setprio,
retagprio and setserviceprio require priority value to be specified in
ruleSetPrio parameter. The actions sendtocontrol, copytocontrol,
modifytos, setbaclevel, setvlanid, retagvlanid, setservicevlanid,
retagservicevlanid, ratelimiter and mirror require an additional value
to be specified in ruleActionVal parameter. The actions
sendtocontrol, copytocontrol and modifytos also require
ruleActionMask parameter to be specified.
Type: Create Optional
Modify Optional
Default value: drop
description
<description-val>
Description of the application that receives packets matching this
rule. This field is valid and mandatory only if RuleAction is
'sendtocontrol' or RuleApplyWhenReq is 'enable'. This field can be
modified only if 'status' has the value 'disable' Type: Create