63
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type interface-number
N/A
3.
Configure RTP priority
queuing.
qos rtpq start-port
first-rtp-port-number
end-port
last-rtp-port-number
bandwidth
bandwidth
[
cbs
burst
]
N/A
4.
Display RTP priority queuing
configuration information on
the interface or all interfaces.
display qos rtpq interface
[
interface-type
interface-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Optional.
Available in any
view.
You must enable the rate limit function for the queuing function to take effect on these interfaces:
tunnel interfaces, subinterfaces, Layer 3 aggregate interfaces, HDLC link bundle interfaces, RPR
logical interfaces, and VT interfaces configured with PPPoE, PPPoA, or PPPoEoA.
RTP priority queuing configuration example
Network requirements
Configure RTP priority queuing on interface Serial 1/1/1 as follows:
The start port number is 16384, the end port number is 32767, and 64 kbps bandwidth is reserved for
RTP packets. When congestion occurs to the outgoing interface, RTP packets are assigned to the
RTP priority queue, whose maximum reserved bandwidth is configured as 70% of the available
bandwidth.
Configuration procedure
# Enter system view.
<Sysname> system-view
# Enter interface view.
[Sysname] interface serial 1/1/1
# Configure the maximum reserved bandwidth as 70% of the available bandwidth on Serial 1/1/1.
[Sysname-Serial1/1/1] qos reserved-bandwidth pct 70
# Configure RTP priority queuing on interface Serial 1/1/1: 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-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.
Hewlett Packard Enterprise 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.