No.
Data
2
(Optional) Rate for traffic shaping in an interface queue, including the CIR and PIR
3
Interface on which traffic shaping is applied or index of the queue
2.4.2 Configuring Traffic Shaping on an Interface
You can configure traffic shaping on an interface to limit the rate of data sent by the interface.
Context
Use this procedure to perform traffic shaping for all the downstream packets on an interface.
If you need to set the same traffic shaping rate on multiple interfaces, you can perform the
configuration on the port group to reduce the workload.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
interface-type
interface-number
The interface view is displayed.
Or run the
port-group
port-group-name
command to display the port group view.
NOTE
Create a port group before performing this task. For details on how to create a port group, see Configuring
the Interface Group in the
S3700HI Ethernet Switches Configuration Guide - Ethernet
.
Step 3
Run:
qos lr
{
inbound
|
outbound
}
cir
cir-value
[
cbs
cbs-value
]
The rate for traffic shaping on an interface is set.
By default, the CIR for traffic shaping on an interface is the maximum bandwidth of the interface.
For example, the CIR for traffic shaping on an Ethernet interface is 100000 kbit/s; the CIR for
traffic shaping on a GE interface is 1000000 kbit/s .
NOTE
l
If this command is run repeatedly on the same interface, the latest configuration overrides the previous
configuration.
l
If traffic shaping in an interface queue is configured on the same interface, the CIR for traffic shaping
on an interface must be greater than or equal to the sum of CIRs for traffic shaping in an interface
queue. Otherwise, traffic shaping fails. For example, traffic of lower priorities preempts the bandwidth
of traffic of higher priorities.
----End
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.
64