QOS
Classifier command reference
iMG/RG Software Reference Manual (Quality of Service)
7-30
See also
CLASSIFIER LIST PROFILES
CLASSIFIER PROFILE LIST RULES
7.1.5.1.16 CLASSIFIER PROFILE SET RULE MARK TOS
Syntax
CLASSIFIER PROFILE {<name>|<number>} SET RULE {<rule
name>|<rule number>} MARK TOS <tos>
Description
This command determines what happens if a rule is matched. You can configure the clas-
sifier to mark packets with a specific Type of Service (ToS). If set, the TOS field in the IP
header will be changed to the value set here.
The ToS field is also known as the DSCP field. See also the classifier profile set rule mark
dscp command which provides an alternative method of marking the same IP header
field.
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 name
A name that identifies an existing rule. To
display rule names, use the classifier profile
list rules 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
tos
The Type of Service (ToS). This value is
specified in hexadecimal format (0xNN)
between the ranges 0x00 and 0xfc. The 2
least significant bits are ignored. Set to any to
cancel the tos setting.
none