User guide
L2Filter L2Filter Command Reference
iMG/RG Software Reference Manual (Quality of Service)
7-70
Example --> l2filter rule TestRule add action mark_vlan value 1234
See also L2FILTER ADD RULE
7.2.2.1.19 L2FILTER RULE ADD FIELD
Syntax L2FILTER RULE <rule_name> ADD FIELD <field_name> <operation>
<val1> VALUE2 <val2>
Description This command adds the specified field to the rule. The arguments for the field specifiy
the conditions of how the field should be tested.
Options The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
action_type The action that should be performed. The available actions
are the following:
drop
allow_packet
dump_packet
mark_dscp
mark_8021p
mark_vlan
untag_packet
jump_stage
mark_sch
mark_meter
mark_drop
n/a
action_data Additional data that may be required to perform the func-
tion specified by the action
0
Option Description Default Value
rule_name The name of the to which the field should be added n/a
field_name The name of the field type to be added n/a
Option Description Default Value