User guide
Classifier command reference QOS
7-27
iMG/RG Software Reference Manual (Quality of Service)
Example --> classifier profile pr2 set rule r1 dstaddr 192.168.86.93 255.255.255.255
See also CLASSIFIER LIST PROFILES
CLASSIFIER PROFILE LIST RULES
7.1.5.1.13 CLASSIFIER PROFILE SET RULE DSTPORT
Syntax CLASSIFIER PROFILE {<name>|<number>} SET RULE {<rule
name>|<rule number>} DSTPORT <min> <max>
Description This command configures a classifier rule to test the destination port of incoming pack-
ets. You can specify a range of ports by configuring different minimum and maximum port
numbers, or specify a single port by configuring the same port number for both port val-
ues.
Set the DSTPORT min and max values to 0 if you want to cancel this test and set the rule
to match any destination port.
Note: This rule is only meaningful for TCP and UDP protocols. If you have set a destination port rule, you must
also specify which protocol (TCP or UDP) should be tested by the rule. See CLASSIFIER PROFILE
SET RULE PROTOCOL
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)
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 com-
mand.
N/A
rule number An existing rule. To display rule numbers, use the
CLASSIFIER PROFILE LIST RULES com-
mand.
N/A
addr The destination IP address, displayed in the following
format: 192.168.102.3
0.0.0.0
mask The destination subnet mask address, displayed in the
following format: 255.255.255.0
0.0.0.0
Option Description Default Value