EasyManuals Logo

H3C S5120-EI Series User Manual

H3C S5120-EI Series
1166 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #547 background imageLoading...
Page #547 background image
2-2
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 2-1 describes the available forms of this
argument.
Table 2-1 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.
In a class configured with the operator and, the logical relationship
between rules defined in the referenced IPv4 ACL is or.
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.
In a class configured with the operator and, the logical relationship
between rules defined in the referenced IPv6 ACL is or.
any
Specifies to match all packets.
customer-dot1p 8021p-list
Specifies to match packets by 802.1p precedence of the customer
network. The 8021p-list argument is a list of CoS values, in the
range of 0 to 7.
Even though you can provide up to eight space-separated CoS
values for this argument, the S5120-EI switch supports only one
CoS value in a rule. If you configure multiple CoS values in a rule,
the rule cannot be issued.
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.
In a class configured with the operator and, the logical relationship
between the customer VLAN IDs specified for the
customer-vlan-id keyword is or.
destination-mac mac-address
Specifies to match the packets with a specified destination MAC
address.

Table of Contents

Other manuals for H3C S5120-EI Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S5120-EI Series and is the answer not in the manual?

H3C S5120-EI Series Specifications

General IconGeneral
BrandH3C
ModelS5120-EI Series
CategorySwitch
LanguageEnglish

Related product manuals