Page 761 / 998 Scroll up to view Page 756 - 760
L2Filter Command Reference
L2Filter
7-65
iMG/RG Software Reference Manual (Quality of Service)
Description
This command deletes the specified fieldtype from the system.
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).
Example
--> l2filter delete fieldtype TestFieldType
See also
L2FILTER LIST FIELDTYPES
L2FILTER ADD FIELDTYPE
7.2.2.1.8 L2FILTER DELETE RULE
Syntax
L2FILTER DELETE RULE <name>
Description
This command deletes the specified rule from the system.
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).
Example
--> l2filter delete rule TestRule
See also
L2FILTER LIST RULES
L2FILTER ADD RULE
7.2.2.1.9 L2FILTER DELETE PROFILE
Syntax
L2FILTER DELETE PROFILE <name>
Description
This command deletes the specified profile from the system.
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).
Option
Description
Default Value
name
The name of the field to be deleted
n/a
Option
Description
Default Value
name
The name of the rule to be deleted
n/a
Page 762 / 998
L2Filter
L2Filter Command Reference
iMG/RG Software Reference Manual (Quality of Service)
7-66
Example
--> l2filter delete profile TestProfile
See also
L2FILTER LIST PROFILES
L2FILTER ADD PROFILE
7.2.2.1.10 L2FILTER LIST FIELDTYPES
Syntax
L2FILTER LIST FIELDTYPES
Description
This command lists the available field types in the system. The system creates a default
set of fields at boot time.
Example
--> l2filter list fieldtypes
See also
L2FILTER SHOW FIELDTYPE
L2FILTER ADD FIELDTYPE
L2FILTER DELETE FIELDTYPE
7.2.2.1.11 L2FILTER LIST PROFILES
Syntax
L2FILTER LIST PROFILES
Description
This command lists the available profiles in the system.
Example
--> l2filter list profiles
See also
L2FILTER SHOW PROFILE
L2FILTER ADD PROFILE
L2FILTER DELETE PROFILE
7.2.2.1.12 L2FILTER LIST RULES
Syntax
L2FILTER LIST RULES
Description
This command lists the available rules in the system and basic information about each
one.
Example
--> l2filter list rules
See also
L2FILTER SHOW RULE
L2FILTER ADD RULE
L2FILTER DELETE RULE
Option
Description
Default Value
name
The name of the profile to be deleted
n/a
Page 763 / 998
L2Filter Command Reference
L2Filter
7-67
iMG/RG Software Reference Manual (Quality of Service)
7.2.2.1.13 L2FILTER SHOW PROFILE
Syntax
L2FILTER SHOW PROFILE <name>
Description
This command displays information about the specified profile. This information includes
which rules the profile will attempt to match.
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).
Example
--> l2filter show profile TestProfile
See also
L2FILTER ADD PROFILE
L2FILTER DELETE PROFILE
7.2.2.1.14 L2FILTER SHOW RULE
Syntax
L2FILTER SHOW RULE <name>
Description
This command displays information about the specified rule. This information includes the
rule’s ordering and its enabled state.
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).
Example
--> l2filter show rule TestRule
See also
L2FILTER ADD RULE
L2FILTER DELETE RULE
7.2.2.1.15 L2FILTER SHOW FIELDTYPE
Syntax
L2FILTER SHOW FIELDTYPE <name>
Description
This command displays information about the specified field type. This information
includes the base, offset and mask values.
Option
Description
Default Value
name
The name of the field to display
n/a
Option
Description
Default Value
name
The name of the rule to display
n/a
Page 764 / 998
L2Filter
L2Filter Command Reference
iMG/RG Software Reference Manual (Quality of Service)
7-68
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).
Example
--> l2filter show fieldtype TestFieldType
See also
L2FILTER ADD FIELDTYPE
L2FITLER DELETE FIELDTYPE
7.2.2.1.16 L2FILTER PROFILE ATTACH RULE
Syntax
L2FILTER PROFILE <profile_name> ATTACH RULE <rule_name>
Description
This command associates a given rule with a specified profile.
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).
Example
--> l2filter profile TestProfile attach rule TestRule
See also
L2FILTER ADD RULE
L2FILTER ADD PROFILE
7.2.2.1.17 L2FILTER PROFILE DETACH RULE
Syntax
L2FILTER PROFILE <profile_name> DETACH RULE <rule_name>
Description
This command removes a given rule from the specified profile.
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).
Option
Description
Default Value
name
The name of the field to display
n/a
Option
Description
Default Value
profile_name
The name of the profile in which to associate the rule
n/a
rule_name
The name of the rule to associate with the profile
n/a
Page 765 / 998
L2Filter Command Reference
L2Filter
7-69
iMG/RG Software Reference Manual (Quality of Service)
Example
--> l2filter profile TestProfile detach rule TestRule
See also
L2FILTER DELETE RULE
L2FILTER DELETE PROFILE
7.2.2.1.18 L2FILTER RULE ADD ACTION
Syntax
L2FILTER RULE <rule_name> ADD ACTION <action_type> VALUE
<action_data>
Description
This command adds an action to the specified rule.
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).
Option
Description
Default Value
profile_name
The name of the profile from which we want to remove
the rule
n/a
rule_name
The name of the rule to remove from the profile
n/a
Option
Description
Default Value
rule_name
The name of the in which to add the action
n/a

Rate

4 / 5 based on 3 votes.

Popular Allied-Telesis Models

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top