Defining a class, Figure 4 – H3C Technologies H3C S10500 Series Switches User Manual
Page 25
17
Figure 4 QoS policy configuration procedure
Define a class
Define a behavior
Define a policy
Apply the policy
Apply the
policy to an
interface
Apply the
policy to
online
users
Apply the
policy to
a VLAN
Apply the
policy
globally
Apply the
policy to
the
control
plane
Defining a class
To define a class, specify its name and then configure the match criteria in class view.
Follow these steps to define a class:
To do…
Use the command… Remarks
Enter system view
system-view
—
Create a class and enter
class view
traffic classifier
tcl-name [ operator
{ and | or } ]
Required
By default, the operator of a class is AND.
The operator of a class can be AND or OR.
•
AND: A packet is assigned to a class only when the
packet matches all the criteria in the class.
•
OR: A packet is assigned to a class if it matches any
of the criteria in the class.
Configure match criteria
if-match match-criteria Required
match-criteria: Match criterion.