NOTE
The
basic-acl-number
parameter specifies the number of a basic ACL. The value is an integer
that ranges from 2000 to 2999.
3.
(Optional) Run:
step
step-value
The step value between ACL rule IDs is set.
4.
Run:
rule
[
rule-id
] {
deny
|
permit
} [
fragment
|
logging
|
source
{
source-
ipv6-address
prefix-length
|
source-ipv6-address/prefix-length
|
source-
ipv6-address
postfix
postfix-length
|
any
} |
time-range
time-name
]
*
A basic ACL4 rule is created.
Or, run:
rule
[
rule-id
] {
deny
|
permit
} [
fragment
|
logging
|
source
{
source-
ipv6-address
prefix-length
|
source-ipv6-address/prefix-length
|
source-
ipv6-address
postfix
postfix-length
|
any
} |
time-range
time-name
]
*
A basic ACL6 rule is created.
5.
Run:
quit
Return to the system view.
6.
Run:
traffic classifier
classifier-name
[
operator
{
and
|
or
} ]
A traffic classifier is created and the traffic classifier view is displayed.
The
and
parameter indicates that the relationship between rules in a traffic classifier
is AND. That is, packets match a traffic classifier only when the packets match all
non-ACL rules and an ACL rule in the traffic classifier. The
or
parameter indicates
that the relationship between rules in a traffic classifier is OR. That is, packets match
a traffic classifier when the packets match a rule in the traffic classifier.
By default, the relationship between rules in a traffic classifier is AND.
7.
Run:
if-match
acl
basic-acl-number
A traffic classifier based on a basic ACL is created.
l
Creating a traffic classifier based on an advanced ACL
1.
Run:
system-view
The system view is displayed.
2.
Run:
:
acl
advance-acl-number
A advance ACL is created and the ACL view is displayed.
Or, run:
acl
[
ipv6
]
name
acl-name
link
A named ACL is created and ACL view is displayed.
S3700HI Ethernet Switches
Configuration Guide - QoS
1 Class-based QoS Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
14