l
rule-id
: Indicates the ACL rule ID. To create an ACL rule with a specified ID, use this
parameter.
l
permit
: Indicates the keyword for allowing the data packets that meet related conditions to
pass.
l
deny
: Indicates the keyword for discarding the data packets that meet related conditions.
l
time-range
: Indicates the keyword of the time range during which the ACL rule is effective.
Step 4
Activate the ACL.
After an ACL is configured, only an ACL is generated and the ACL does not take effect. You
need to run other commands to activate the ACL. Some common commands are as follows:
l
Run the
packet-filter
command to activate an ACL.
l
Perform the QoS operation. For details, see
3.14.3 Configuring Traffic Management Based
.
----End
Example
To create a link layer ACL rule that allows data packets with protocol type 0x8863 (pppoe-
control message), VLAN ID 12, CoS 1, source MAC address 2222-2222-2222, and destination
MAC address 00e0-fc11-4141 to pass, do as follows:
huawei(config)#
acl 4001
huawei(config-acl-link-4001)
rule 1 permit type 0x8863 cos 1 source 12
2222-2222-2222 0000-0000-0000 destination 00e0-fc11-4141 0000-0000-0000
huawei(config-acl-basic-4001)
quit
huawei(config)#
save
3.14 Configuring QoS
This topic describes how to configure quality of service (QoS) on the MA5616 to provide end-
to-end quality assurance for user services.
Context
Configuring QoS in the system can provide different quality guarantees for different services.
QoS does not have a unified service model. Therefore, make the QoS plan for networkwide
services before making the configuration solution.
On the MA5616, the key points for implementing QoS are as follows:
l
Traffic management
Configuring traffic management can limit the traffic for a user service or user port.
l
Queue scheduling
For the service packets that are already configured with traffic management, through the
configuration of queue scheduling, the service packets can be placed into queues with
different priorities, thus implementing QoS inside the system.
In addition to the preceding key points, the MA5616 supports ACL-based traffic management.
In the scenario where users have flexible requirements on implementing QoS for traffic streams,
the ACL can be used to implement flexible traffic classification (see
), and then QoS can be implemented for traffic streams.
SmartAX MA5616 Multi-service Access Module
Configuration Guide
3 Basic Configuration
Issue 04 (2011-10-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
115