Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 2 Congestion Management Configuration
Commands
3Com Corporation
2-32
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.
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
2.5.16 if-match dot1p-cos
Syntax
if-match [ not ] dot1p-cos cos-value
if-match [ not ] dot1p-cos cos-value
View
Class view
Parameter
cos-value: COS value in VLAN packets, in the range 0 to 7.
Description
Use the if-match dot1p-cos command to define a COS field match rule for VLAN
packets.
Use the undo if-match atmclp command to delete the specified COS field match rule
for VLAN packets.
For a class, you can configure multiple COS field match rules. The COS values
specified by them are automatically arranged in ascending order.