Example
Define match rule for all packets.
[3Com] qos class class1
[3Com-qosclass-class1] if-match any
1.12 if-match class
Syntax
if-match [ logic-not ] class class-name
undo if-match [ logic-not ] class class-name
View
Class view
Parameter
class-name: Class name.
Description
Using the if-match class command, you can define the match rule for a QoS class.
Using the undo if-match class command, you can delete the match rule for the QoS
class.
This configuration method is the only one to match the traffic with both the match-all
and match-any features.
For example: define classA to fit into the following relations: rule1 & rule2 | rule3
qos class logic-and classB
if-match rule1
if-match rule2
qos class logic-or classA
if-match rule3
if-match classB
For the related command, see qos class.
3Com Router Command Reference Guide Addendum for V1.2
15