Page 716 / 998 Scroll up to view Page 711 - 715
QOS
Classifier command reference
iMG/RG Software Reference Manual (Quality of Service)
7-20
Example
--> classifier delete profile pr1
See also
CLASSIFIER ADD PROFILE
7.1.5.1.4 CLASSIFIER LIST PROFILES
Syntax
CLASSIFIER LIST PROFILES
Description
This command lists all classifier profiles that have been created using the
CLASSIFIER
ADD PROFILE
command. It displays the following information about classifier profiles:
Profile ID number
Profile name
Example
--> classifier list profiles
Classifier Profiles:
ID |
Name
----|----------------
1
| pr1
2
| pr2
3
| pr3
---------------------
See also
CLASSIFIER ADD PROFILE
7.1.5.1.5 CLASSIFIER PROFILE ADD RULE
Syntax
CLASSIFIER PROFILE {<name>|<number>} ADD RULE <rule name>
Description
This command adds a rule to an existing profile. Once you have created a rule, you can
configure it using the
CLASSIFIER PROFILE SET RULE
commands.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value for each option (if applicable).
Option
Description
Default Value
name
An existing profile. To display profile names, use the
CLASSIFIER LIST PROFILES
command.
N/A
number
An existing profile. To display profile numbers, use the
CLASSIFIER LIST PROFILES
command.
N/A
Page 717 / 998
Classifier command reference
QOS
7-21
iMG/RG Software Reference Manual (Quality of Service)
Example
--> classifier profile pr1 add rule r1
See also
CLASSIFIER LIST PROFILES
7.1.5.1.6 CLASSIFIER PROFILE CLEAR RULES
Syntax
CLASSIFIER PROFILE {<name>|<number>} CLEAR RULES
Description
This command deletes all of the rules that were added to an existing profile using the
CLASSIFIER PROFILE ADD RULE
command.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value for each option (if applicable).
Example
--> classifier profile pr1 clear rules
See also
CLASSIFIER PROFILE ADD RULE
CLASSIFIER LIST PROFILES
7.1.5.1.7 CLASSIFIER PROFILE DELETE RULE
Syntax
CLASSIFIER PROFILE {<name>|<number>} DELETE RULE {<rule
name>|<rule number>}
Option
Description
Default Value
name
An existing profile. To display profile names, use the
CLASSIFIER LIST PROFILES
command.
N/A
number
An existing profile. To display profile numbers, use the
CLASSIFIER LIST PROFILES
command.
N/A
rule name
An arbitrary name that identifies the rule. It can be
made up of one or more letters or a combination of let-
ters and digits, but it cannot start with a digit.
N/A
Option
Description
Default Value
name
An existing profile. To display profile names, use the
CLASSIFIER LIST PROFILES
command.
N/A
number
An existing profile. To display profile numbers, use the
CLASSIFIER LIST PROFILES
command.
N/A
Page 718 / 998
QOS
Classifier command reference
iMG/RG Software Reference Manual (Quality of Service)
7-22
Description
This command deletes a single rule that was added to an existing profile using the
CLASSIFIER PROFILE ADD RULE
command.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value for each option (if applicable).
Example
--> classifier profile pr1 delete rule r1
See also
CLASSIFIER LIST PROFILES
CLASSIFIER PROFILE ADD RULE
7.1.5.1.8 CLASSIFIER PROFILE LIST RULES
Syntax
CLASSIFIER PROFILE LIST RULES
Description
This command displays the following information about the rules previously added to an
existing profile:
Rule ID number
Rule name
Test details; each packet is tested against the following configurable fields:
The source IP address and netmask
The destination IP address and netmask
The
Differentiated Services Code Point
(DSCP)
The protocol name or number
The source port range
The destination port range
Option
Description
Default Value
name
An existing profile. To display profile names, use the
CLASSIFIER LIST PROFILES
command.
N/A
number
An existing profile. To display profile numbers, use the
CLASSIFIER LIST PROFILES
command.
N/A
rule name
An existing rule. To display rule names, use the
CLASSI-
FIER PROFILE LIST RULES
command.
N/A
rule number
An existing rule. To display rule numbers, use the
CLAS-
SIFIER PROFILE LIST RULES
command.
N/A
Page 719 / 998
Classifier command reference
QOS
7-23
iMG/RG Software Reference Manual (Quality of Service)
If a packet matches the configured fields, the packet is assigned a specific QoSC. If a DSCP
is specified by the classifier profile set rule mark command, a DSCP is also assigned. The
assigned fields are also displayed in the
Test details
column.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value for each option (if applicable).
Example
--> classifier profile pr1 list rules
Classifier profile: pr1
ID | Name | Test details
----|-----------------------------------------------------
1
| r1
| Set QOSC 1
Mark DSCP none
|
| Src Addr 1.1.1.1
Src Mask
255.255.255.0
|
| Dst Addr 2.2.2.2
Dst Mask
255.255.255.255
|
| DSCP
any
Protocol
UDP
|
| Src Port 2727-2727 Dst Port
0
-
0
----------------------------------------------------------
See also
CLASSIFIER LIST PROFILES
7.1.5.1.9 CLASSIFIER PROFILE SET RULE DATALENGTH
Syntax
CLASSIFIER PROFILE {<name>|<number>} SET RULE {<rule
name>|<rule number>} DATALENGTH <min> <max>
Description
This command configures a classifier rule to check the size of the payload data carried by
packets.
If the <protocol> value of the classifier profile set rule protocol command is set to TCP,
this rule compares the payload data length of the TCP packet (i.e., IP total length - IP
header length - TCP header length) to the <min> and <max> values specified here.
If the <protocol> value of the classifier profile set rule protocol command is set to UDP,
this rule compares the payload data length of the UCP packet (i.e., IP total length - IP
header length - UDP header length) to the <min> and <max> values specified here.
Option
Description
Default Value
name
An existing profile. To display profile names, use the
CLASSIFIER LIST PROFILES
command.
N/A
number
An existing profile. To display profile numbers, use the
CLASSIFIER LIST PROFILES
command.
N/A
Page 720 / 998
QOS
Classifier command reference
iMG/RG Software Reference Manual (Quality of Service)
7-24
If the <protocol> value of the classifier profile set rule protocol command is set to any
or to a valueother than TCP or UDP, this rule compares the payload data length of the IP
packet (i.e., IP total length - IP header length) to the <min> and <max> values specified
here.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value for each option (if applicable).
Example
--> classifier profile pr1 set rule r1 datalength 0 0
See also
CLASSIFIER LIST PROFILES
CLASSIFIER PROFILE LIST RULES
7.1.5.1.10 CLASSIFIER PROFILE SET RULE DROPPRI
Syntax
CLASSIFIER PROFILE {<name>|<number>} SET RULE {<rule
name>|<rule number>} DROPPRI <droppri>
Description
This command configures the specified drop priority to be assigned to packets when the
rule is matched. The algorithmic dropper module reads the drop priority of the packet.
If the algorithmic dropper is not in use (for example, the scheduler device is not included
in the build), this setting has no effect.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value for each option (if applicable).
Option
Description
Default Value
name
A name that identifies an existing profile. To
display profile names, use the classifier list
profiles command.
N/A
number
A number that identifies an existing profile.
To display profile numbers, use the classifier
list profiles command.
N/A
rule number
A number that identifies an existing rule. To
display rule numbers, use the classifier
profile list rules command.
N/A
min/max
Minimum and maximum payload values.
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