R2511-HP MSR Router Series ACL and QoS Configuration Guide(V5)
67
# Configure RTP priority queuing on interface Serial 2/0: the start port number is 16384, the end port
number is 32767, and 64 kbps of bandwidth is reserved for RTP packets. When congestion occurs to the
outgoing interface, RTP packets are assigned to the RTP priority queue.
[Sysname-Serial2/0] 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 and BRI 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 2/0.
Configuration procedure
# Enter system view.
<Sysname> system-view
# Enter interface view.
[Sysname] interface serial 2/0
# Set the number of QoS tokens to 1, and re-enable the interface to make the configuration take effect.
[Sysname-Serial2/0] qos qmtoken 1
[Sysname-Serial2/0] shutdown
[Sysname-Serial2/0] undo shutdown










