Classifier command reference
QOS
7-35
iMG/RG Software Reference Manual (Quality of Service)
Example
--> classifier profile pr1 set rule r1 priority 1
See also
CLASSIFIER LIST PROFILES
CLASSIFIER PROFILE LIST RULES
SCHEDULER PROFILE SET QUEUE WEIGHT
7.1.5.1.22 CLASSIFIER PROFILE SET RULE PROTOCOL
Syntax
CLASSIFIER PROFILE {<name>|<number>} SET RULE {<rule
name>|<rule number>} PROTOCOL <protocol>
Description
T
his command configures a classifier rule to test the protocol of incoming packets. You
can specify the following protocols by name or decimal protocol number:
•
TCP (6)
•
UDP (17)
•
ICMP (1)
•
GRE (47)
All other protocols can only be specified by their decimal protocol number.
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
com-
mand.
N/A
rule name
An existing rule. To display rule names, use the
CLASSIFIER PROFILE LIST RULES
command.
N/A
priority
The scheduling priority value or queue ID value, that
is any number between 1 and 7 (included). To display
scheduling priority values, use the
SCHEDULER
SHOW PROFILE QUEUES
command.
N/A