2.4.3 (Optional) Setting the Length of the Interface Queue
You can set the maximum number of packets that can be buffered in the specified interface queue
by setting the length of the interface queue.
Context
You must run the shutdown (interface view) command to shut down the interface before running
the
qos queue max-length
command. Otherwise, traffic is interrupted and an alarm is generated.
Procedure
l
Run:
system-view
The system view is displayed.
l
Run:
interface
interface-type
interface-number
The interface view is displayed.
l
Run:
qos queue
queue-index
length
length-value
The length of the interface priority queue is set.
----End
2.4.4 Configuring Traffic Shaping in an Interface Queue
This section describes how to configure traffic shaping, enable traffic shaping in an interface
queue, and set traffic shaping parameters.
Context
Use this procedure to perform traffic shaping for packets of a certain type of services on an
interface.
Before configuring traffic shaping in an interface queue, map priorities of packets to PHBs based
on simple traffic classification or re-mark the internal priorities based on complex traffic
classification. Different services can enter different interface queues.
To set the same queue shaping rate on multiple interfaces, perform the configuration on the port
group to reduce the workload.
NOTE
For details about priority mapping based on simple traffic classification, see Configuring Priority Mapping
Based on Simple Traffic Classificationand
Configuring Priority Mapping Based on Simple Traffic
For details about internal priority re-marking based on complex traffic classification, see
Traffic Policy Based on Complex Traffic Classification
Procedure
Step 1
Run:
system-view
S3700HI Ethernet Switches
Configuration Guide - QoS
2 Traffic Policing and Traffic Shaping Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
65