Re: Practical Studies - The Bad, the Ugly - Custom Queing (PLS URGENT)

From: Perminder Grewal (percy_gunner@xxxxxxxxxxx)
Date: Sat Jul 27 2002 - 11:14:19 GMT-3


   
I came up with this

25% 500 bytes
10% 1412 bytes
65% 700 bytes

step 1

divide the percentage by the banwidth i.e 25/550

.05
.007
.09286

step 2

divide by the lowest .007

7.14
1
13.26

step 3

round up to the numbers next whole number

8
1
14

step 4

multiply each packet count by packet size

(8 x 500) + (1 x1412) + 14 (700) = 4000+1412+9800= 15212

step 5

verify percentage

4000/15212 = 26.29%
1412/15212 = 9.28 %
9800/15212 = 64.42%

hence

access-list 102 permit eigrp any any
access-list 102 permit ospf any any
queue-list 1 protocol ipx 1
queue-list 1 protocol ip 1 list 102
queue-list 1 protocol ip 2 tcp www
queue-list 1 default 3
queue-list 1 queue 1 byte-count 4000
queue-list 1 queue 2 byte-count 1412
queue-list 1 queue 3 byte-count 9800

I think solie got queue 1 wrong must of had fat fingers.

hope this helps

I'll mail this again as I have been having problems in reply to posts not
coming up on the board. I'll have to get hold of Paul

Percy



This archive was generated by hypermail 2.1.4 : Sat Sep 07 2002 - 19:36:46 GMT-3