R3303-HP HSR6800 Routers ACL and QoS Configuration Guide

68
[Sysname-Serial1/1/1] qos rtpq start-port 16384 end-port 32767 bandwidth 64
Configuring QoS tokens
Because the upper layer protocol TCP provides traffic control, CQ and WFQ might become invalid
during FTP transmission. QoS tokens can solve this problem. The token feature of QoS provides a flow
control mechanism for underlying-layer queues. This feature can control the number of packets sent to the
interface underlying-layer queues based on the number of tokens.
HP recommends that you set the token number to 1 on an interface for FTP transmission.
If the upper layer protocol, UDP for example, does not provide flow control, do not use the QoS token
function to improve data transmission efficiency.
Configuration procedure
To configure QoS tokens:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type
interface-number
Applicable to only serial interfaces.
3. Specify the number of
QoS tokens.
qos qmtoken token-number By default, the QoS token feature is disabled.
4. Shut down the interface.
shutdown
Re-enable the interface by using the shutdown
command and then the undo shutdown
command to make the QoS token feature take
effect.
5. Bring up the interface.
undo shutdown N/A
QoS token configuration example
Network requirements
Specify the number of QoS tokens on interface Serial 1/1/1.
Configuration procedure
# Enter system view.
<Sysname> system-view
# Enter interface view.
[Sysname] interface serial 1/1/1
# Set the number of QoS tokens to 1, and re-enable the interface to make the configuration take effect.
[Sysname-Serial1/1/1] qos qmtoken 1
[Sysname-Serial1/1/1] shutdown
[Sysname-Serial1/1/1] undo shutdown