D-Link DI-1750 Reference Manual page 408

Hide thumbs Also See for DI-1750:
Table of Contents

Advertisement

packet size, so you must take the packet size into account when you configure the total bytes, not
specify them into 100:200:400:300 simply, in this way, the bandwidth ratio must be 1428:582:371:1525.
In command to achieve the purpose, follow these steps:
(1)
Produce a ratio of all frame sizes, dividing the percentages of bandwidth you want each queue
to have into its frame size. The ratios would be: 10/1428,20/582,40/371,30/1525 or
0.007,0.03436,0.10782,0.01967.
(2)
Normalize the ratios by the smallest value, that is: 1,4.9,15.4,2.8, This is the ratio of the number
of frames that must be sent.
(3)
Note that any fraction in any of the ratio values means that an additional frame will be sent. The
integer part of the ratio is the total number of frames that must be sent. In the example above,
the ratio of the number of frames that must be sent would be 1:5:16: 3.
(4)
Now multiply the results by the percentages of bandwidth you want each protocol to have, in this
way, you can convert the ratio of the number of frames into bytes quantity. In this example, the
router would send one 1428-byte frame, five 582-byte frames, sixteen 371-byte frames and
three 1525-byte frames. That is, every queue sends 1428, 2910, 5936, and 4575 bytes. It is the
bytes quantity you will specify in the customed queueing configuration.
(5)
To determine the bandwidth distribution this represents, first determine the total number of bytes
sent after all four queues are serviced: (1×1428) + (5×582) + (16×371)+(3×1525) =
1428+2910+5936+4575 = 14849.Then determine the percentage of the 14849 bytes that was
sent from each queue: 1428/14849,2910/14849,5936/14849,4575 /14849= 9.6%,19.5%,39.8%
和 30.8%.As you can see, this is close to the desired ratio of 10:20:40:30.
(6)
The resulting bandwidth allocation can be tailored further by multiplying the original ratio by an
appropriate value, and trying to get as close to four integer values as possible. Note: The
multiplicator needn't be an integer.
The detail configuration is showed below: (Supposed the four applications are udp port 100, 200, 400,
700 respectively; and use the NO. 1 custom queue list).
First assign appropriate queue (2, 3, 4, 5) to the four applications:
queue-list 1 p ip 2 udp 100
queue-list 1 p ip 3 udp 200
queue-list 1 p ip 4 udp 400
queue-list 1 p ip 5 udp 700
Specify the total bytes that must be sent for every queue
queue-list 1 queue 2 byte-count 1428
queue-list 1 queue 3 byte-count 2910
queue-list 1 queue 4 byte-count 5936
queue-list 1 queue 5 byte-count 4575
Configue the custom queue list to the interface
interface s0/0
custom-queue-list 1
9.3 Configure RTP Header Compression Protocol
This chapter describes how to configure Compressed Real-Time Protocol (CRTP) header on serial
lines using. To locate documentation of commands that appear in this chapter, see the "RTP Header
Compression Command".
9.3.1 CRT Configuration Steps
To configure CRTP header, perform the tasks in the following sections.
♦ Enable CRTP on a Serial Interface
♦ Change the Maximum Number of CRTP Connections
♦ Display CRTP Compression Information
♦ CRTP Debugging
Model Name
- 406 -

Advertisement

Table of Contents
loading

This manual is also suitable for:

Di-2621Di-2630Di-3660

Table of Contents