User guide

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