H3C S5120-EI Series Operation Manual page 547

Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

Configuration procedure
Follow these steps to define a class:
To do...
Enter system view
Create a class and enter the
corresponding class view
Define a rule used to match
packets
match-criteria: Matching rules to be defined for a class.
argument.
Table 2-1 The form of the match-criteria argument
Form
acl access-list-number
acl ipv6 access-list-number
any
customer-dot1p 8021p-list
customer-vlan-id vlan-id-list
destination-mac mac-address
Use the command...
system-view
traffic classifier
classifier-name [ operator
{ and | or } ]
if-match match-criteria
Table 2-1
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.
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.
Specifies to match all packets.
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.
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
customer-vlan-id keyword is or.
Specifies to match the packets with a specified destination MAC
address.
2-2
Remarks
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.
Required
describes the available forms of this
Description
VLAN
IDs
specified
for
the

Advertisement

Chapters

Table of Contents
loading

Table of Contents