3.14.3 Configuring Traffic Management Based on ACL Rules
The ACL can be used to implement flexible traffic classification according to user requirements.
After traffic classification based on ACL rules is completed, you can perform QoS for the traffic
streams.
3.14.3.1 Controlling the Traffic Matching an ACL Rule
This topic describes how to control the traffic matching an ACL rule on a specified port, and
process the traffic that exceeds the limit.
Prerequisite
The ACL and the rule of the ACL are configured, and the port for traffic limit is working in the
normal state.
Context
l
The traffic limit is only effective for the permit rules of an ACL.
l
The limited traffic must be an integer multiple of 64 kbit/s.
Procedure
Step 1
Run the
traffic-limit
command to control the traffic matching an ACL rule on a specified port.
Packets are discarded when the received traffic on a port exceeds the limit.
Step 2
Run the
display qos-info traffic-limit port
command to query the traffic limit information on
the specified port.
----End
Example
To limit the traffic that matches ACL 2001 received on port 0/2/0 to 512 kbit/s, do as follows:
huawei(config)#
traffic-limit inbound ip-group 2001 512 port 0/2/0
huawei(config)#
display qos-info traffic-limit port 0/2/0
traffic-limit:
port 0/2/0:
Inbound:
Matches: Acl 2001 rule 5 running
Target rate: 512 Kbps
Exceed action: drop
3.14.3.2 Adding a Priority Tag to the Traffic Matching an ACL Rule
This topic describes how to add a priority tag to the traffic matching an ACL rule on a specified
port so that the traffic can obtain the service that match the specified priority. The priority tag
type can be ToS or 802.1p.
Prerequisite
The ACL and the rule of the ACL are configured, and the port for traffic priority is working in
the normal state.
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.
128