In a queue scheduling profile, the queue of which the queue weight is 0 should be
configured at the end.
2. In Ethernet interface mode, apply the queue scheduling profile.
ZXAN(config)#interface gei_1/21/1
ZXAN(config-if)#qos queue-block-profile test
3. (Optional) Query the QoS configuration on the interface.
ZXAN(config)#show qos interface gei_1/21/1
qos queue-block-profile TEST
4. (Optional) Query the QoS queue scheduling profile.
ZXAN(config-if)#show qos queue-block-profile test
-----------------------------------------------------------------
profile name
profile detail
-----------------------------------------------------------------
queue-number
queue-weight
queue-depth
-----------------------------------------------------------------
profile used by :
gei_1/21/1
– End of Steps –
7.1.6 Configuring Traffic Shaping
By implementing traffic shaping, you can set the packet rate to match that of the receiving
device, to avoid congestion or packet discarding.
Context
Traffic shaping controls the rate of the output packets so that the packets are sent at a
constant rate.
By default, traffic shaping is disabled.
Steps
1. In Ethernet interface mode, configure traffic shaping.
ZXAN(config)#interface gei_1/21/1
ZXAN(config-if)#qos traffic-shape rate-limit 1280 bucket-size 512
2. (Optional) Query the QoS configuration on the interface.
SJ-20130520164529-007|2013-06-30 (R1.0)
Note:
: TEST
:
:
8
:
2
3
0
:
0
0
0
0
0
0
0
0
0
0
0
0
0
7-5
Chapter 7 QoS Configuration
ZTE Proprietary and Confidential