Command Reference Guide
3Com Router 5000 Family and Router 6000 Family if-match classifier ● 51
Command Reference
if-match classifier
Purpose Use the if-match classifier command to define class-map match rule.
Use the
undo if-match classifier command to delete the class-map match
rule.
Syntax if-match [ not ] classifier tcl-name
undo if-match [ not ] classifier tcl-name
Parameters tcl-name
Class name.
Example Define match rule of class2 and class1 must be used. Therefore, class1 is configured
first. The match rule of class1 is ACL 101 and the IP precedence is 5.
[3Com ] traffic classifier class1
[3Com -classifier-class1] if-match ip-precedence 5
Define the packet whose class is class2, match rule is class1 and destination MAC
address is 0050-BA27-BED3.
[3Com ] traffic classifier class2
[3Com -classifier-class2] if-match classifier class1
[3Com -classifier-class2] if-match destination-mac 0050-BA27-BED3
View This command can be used in the following views:
■ Class view
Description When defining both logical AND and logical OR match rules for a class, you may use
this command.
For example: classA needs to match: rule1 & rule2 | rule3
traffic classifier classB operator and
if-match rule1
if-match rule2
traffic classifier classA operator or
if-match rule3
if-match classifier classB
Related Command traffic classifier