Operation Manual – QoS
H3C S5500-EI Series Ethernet Switches
Chapter 3 QoS Policy Configuration
3-3
3.4 Configuring a QoS Policy
3.4.1 Configuration Prerequisites
z
The name and the rules of the class to which the policy is to be bound to are
determined.
z
The traffic behavior name and actions in the traffic behavior in the policy are
determined.
z
The policy name is determined.
z
Apply the QoS policy in Ethernet port view/port group view.
3.4.2 Defining a Class
To define a class, you need to create a class and then define rules in the corresponding
class view.
I. Configuration procedure
Follow these steps to define a class:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a class and enter
the corresponding class
view
traffic classifier
classifier-name
[
operator
{
and
|
or
} ]
Required
By default, the
and
keyword is specified. That
is, the relation between
the rules in the class view
is logic AND. This
operation leads you to
class view.
Define a rule used to
match packets
if-match match-criteria
Required
match-criteria
: Matching rules to be defined for a class.
Table 3-2
describes the
available forms of this argument.
Table 3-2
The form of the
match-criteria
argument
Form
Description
acl
access-list-numb
er
Specifies an ACL to match packets. The
access-list-number
argument is in the range 2000 to 4999.
In a class configured with the operator
and
, the logical
relationship between rules defined in the referenced IPv4 ACL is
or
.