Chapter 4 Service Configuration
Default
The egress traffic-shaping function is disabled.
Example
The following example sets the egress shaping limit to 2 Mbps and burst size to 32 KBytes
for port 2/1:
zte(cfg)#set qos traffic-shaping xge-port 2/1 data-rate 2 burst-size 8
4.14.29 set qos traffic-shaping xge-port queue data-rate
Purpose
This command sets the queue-based egress traffic-shaping rate for a 10 GB port.
Command Mode
Global configuration mode
Syntax
set qos traffic-shaping xge-port
<
2/1-2/4
>
queue
<
0-7
>{
data-rate
<
2-10000
>
burst-size
<
8
-4094
>|
disable
}
Parameter Description
Parameter
Description
<
2/1-2/4
>
10 GB port number. Different devices have different port number
ranges. In the syntax, the 2952E device is used as an example.
<
0-7
>
Queue ID.
data-rate
Egress traffic-shaping rate of the queue.
<
2-10000
>
Value of the traffic-shaping rate. The configuration granularity
is 2 Mbps.
burst-size
Egress burst rate of the queue.
<
8-4094
>
Value of the burst rate. The configuration granularity is 4 KB.
disable
Disables the queue-based egress traffic-shaping function.
Default
The queue-based egress traffic-shaping function is disabled.
Example
The following example sets the egress shaping limit to 2 Mbps and burst size to 32 KBytes
for queue 2 on port 2/1:
4-323
SJ-20130731155059-003|2013-11-27 (R1.0)
ZTE Proprietary and Confidential