R2511-HP MSR Router Series ACL and QoS Command Reference(V5)

114
Set the bandwidth argument to a value greater than the total bandwidth that the real-time application
requires to allow bursty traffic.
You must enable the line rate function for the queuing function to take effect on these interfaces: tunnel
interfaces, subinterfaces, HDLC link bundle interfaces, and VT/dialer interfaces configured with PPPoE,
PPPoA, PPPoEoA, PPPoFR, or MPoFR (frame relay traffic shaping is not enabled on the frame relay
interface).
Examples
# Configure RTP queuing on interface Serial 2/0: the RTP packets with even UDP destination port
numbers in the range 16384 to 32767 are assigned to the RTP queue when congestion occurs on the
outgoing interface, and the bandwidth for RTP packets is 64 kbps.
<Sysname> system-view
[Sysname] interface serial 2/0
[Sysname-Serial2/0] qos rtpq start-port 16384 end-port 32767 bandwidth 64
QoS token commands
qos qmtoken
Use qos qmtoken to set the number of QoS tokens.
Use undo qos qmtoken to disable the QoS token feature.
Syntax
qos qmtoken token-number
undo qos qmtoken
Default
The feature is disabled.
Views
Interface view
Default command level
2: System level
Parameters
token-number: Number of tokens, in the range 1 to 50.
Usage guidelines
This command is supported only on serial interfaces and BRI interfaces. After you configure this
command on an interface, you must execute the shutdown command and then the undo shutdown
command on the interface to have the feature take effect.
During FTP transmission, flow control provided by the upper layer protocol might invalidate the QoS
queuing configuration. The QoS token feature provides a flow control mechanism for underlying-layer
queues. This feature can control the number of packets sent to such queues based on the number of
tokens.
HP recommends that you set the token-number to 1 on an interface for FTP transmission.