Operation Manual – QoS
H3C S3610&S5510 Series Ethernet Switches
Chapter 3 QoS Policy Configuration
3-3
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.
describes the
available forms of this argument.
Table 3-2
The form of the
match-criteria
argument
Form
Description
acl access-list-number
Specifies an ACL to match packets. The
access-list-number argument is in the range 2000 to 4999.
Note that, for a class with the logical relationship between
the classification rules in it set to logical
and
, a packet
matches the class if it matches a rule in the ACL.
acl ipv6
access-list-number
Specifies an IPv6 ACL to match IPv6 packets. The
access-list-number argument is in the range 2000 to 3999.
Note that, for a class with the logical relationship between
the classification rules in it set to logical
and
, a packet
matches the class if it matches a rule in the ACL.
any
Specifies to match all packets.
customer-vlan-id
vlan-id-list
Specifies to match the packets of specified VLANs of user
networks. The
vlan-id-list
argument specifies a list of
VLAN IDs, in the form of
vlan-id to vlan-id
or multiple
discontinuous VLAN IDs (separated by space). You can
specify up to eight VLAN IDs for this argument at a time.
VLAN ID is in the range 1 to 4094.