User guide
QOS Classifier command reference
iMG/RG Software Reference Manual (Quality of Service)
7-36
Example --> classifier profile pr1 set rule r1 protocol udp
See also CLASSIFIER LIST PROFILES
CLASSIFIER PROFILE LIST RULES
7.1.5.1.23 CLASSIFIER PROFILE SET RULE SRCADDR
Syntax CLASSIFIER PROFILE {<name>|<number>} SET RULE {<rule
name>|<rule number>} SRCADDR <addr> <mask>
Description This command configures a classifier rule to test the source IP address of incoming pack-
ets. The netmask address is compulsory and allows you to match either a whole subnet
or just one host using the mask 255.255.255.255.
Set the srcaddr values to 0.0.0.0 if you want to cancel this test and set the rule to match
any source IP address.
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 classi-
fier 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
protocol The name/decimal number for the supported protocol. Set
to ‘any‘ to cancel the test and let the rule match any pro-
tocol
any
Option Description Default Value
name An existing profile. To display profile names, use the
CLASSIFIER LIST PROFILES command.
N/A