Command Reference Guide
3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 2 Congestion Management Configuration
Commands
3Com Corporation
2-33
You can specify up to eight COS values in one if-match dot1p-cos command. In case
the same value is specified multiple times, only one of them is valid. If the COS value of
a VLAN packet matches one of the specified COS values, the system regards that a
match is found.
Related command: traffic classifier.
Example
# Define a rule, setting that the VLAN packets with COS field of 1, 3, or 6 are matched.
[3Com ] traffic classifier class1
[3Com -classifier-class1] if-match dot1p-cos 1 3 6
2.5.17 if-match dscp
Syntax
if-match [ not ] dscp dscp-value
undo if-match [ not ] dscp dscp-value
View
Class view
Parameter
dscp-value: DSCP value, in the range of 0 to 63.
Description
Use the if-match dscp command to define an IP DSCP match rule.
Use the undo if-match dscp command to delete an IP DSCP match rule.
For a class, you can configure multiple IP DSCP match rules. The DSCP values
specified by them are automatically arranged in ascending order. Only when the
specified DSCP values are identical with those in the rule (sequence may be different)
can the command be deleted.
You may configure up to eight DSCP values in one command. If multiple DSCPs of the
same value are specified, the system regards them as one. Relation between different
DSCP values is “OR”.
Related command: traffic classifier.
Example
# Define the match rule of class1 as matching the packets with the DSCP value as 1, 6
or 9.
[3Com ] traffic classifier class1
[3Com -classifier-class1] if-match dscp 1 6 9










