<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2719.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY style="COLOR: #000000; FONT-FAMILY: Tahoma" bgColor=#ffffff>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2>Here is how I would consider doing it. Custom queuing forces you to
identify the maximum number of bytes allowed to be transmitted out of each
defined queue. As soon as the byte limit is reached, the current packet is
transmitted(must send all of the packet). Then, on to the next
queue.</FONT></SPAN></DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2>The easy way to figure out how to "carve" up your bandwidth is to define
the byte limit in each queue based upon a predetermined ratio. For
instance,</FONT></SPAN></DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2>Queue 2 - www - Gets 50% of bandwidth during a given
interval</FONT></SPAN></DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2>Queue 3 - ftp - Gets 25% of bandwidth during a given
interval</FONT></SPAN></DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2>Queue 4 - pop3 - Gets 25% of bandwidth during a given
interval</FONT></SPAN></DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2>So, the default byte limit is 1500 bytes per queue. Here are your
queues:</FONT></SPAN></DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=647322121-13122002>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2>queue-list 1 protocol ip 2 www</FONT></SPAN></DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2>queue-list 1 protocol ip 4 ftp</FONT></SPAN></DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2>queue-list 1 protocol ip 6 pop3</FONT></SPAN></DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2></FONT></SPAN> </DIV></SPAN></DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2>queue-list 1 queue 2 byte-count 3000</FONT></SPAN></DIV>
<DIV><SPAN class=647322121-13122002></SPAN><SPAN class=647322121-13122002><FONT
face="Courier New" color=#0000ff size=2>queue-list 1 queue 4 byte-count
1500</FONT></SPAN></DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2>queue-list 1 queue 6 byte-count 1500</FONT></SPAN></DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2>queue-list 1 default 1500</FONT></SPAN></DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2>So, assuming negligible traffic in your default queue, the www queue
should utilize 50% of the available bandwidth and ftp and pop3 each will utilize
25% respectively. The percentages won't be exact because of varying packet
sizes.</FONT></SPAN></DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2></FONT></SPAN><SPAN class=647322121-13122002><FONT face="Courier New"
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2>Also, check your avg. packet size, if you have small packet sizes, you
may have to increase queue depth from default of 10 packets per
queue.</FONT></SPAN></DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2>Hope this help,</FONT></SPAN></DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=647322121-13122002><FONT face="Courier New" color=#0000ff
size=2>Brad</FONT></SPAN></DIV>
<DIV><FONT face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
cisco-nsp-bounces@puck.nether.net [mailto:cisco-nsp-bounces@puck.nether.net]
<B>On Behalf Of </B>Rakesh Menon<BR><B>Sent:</B> Friday, December 13, 2002 10:04
AM<BR><B>To:</B> cisco-nsp@puck.nether.net<BR><B>Subject:</B> [nsp] Custome
Queueing<BR><BR></DIV></FONT>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT size=2>
<DIV><FONT size=2>
<DIV><FONT size=2>Hi,</FONT></DIV>
<DIV><FONT face="Courier New" color=#0000ff size=2></FONT> </DIV>
<DIV><FONT size=2>Would like some help in configuring custom queueing in
cisco router. Incase i have to divide the bandwidth among www , ftp and
pop3 how should i be configuring the same. let says for eg - www to be 64kbit
, ftp - 32kbit , pop3 - 32kbit. And also how do we monitor that each
application is getting the specified bandwidth. All this will be applied in
one custom-queue-list in the interface. </FONT></DIV>
<DIV><FONT face="Courier New" color=#0000ff size=2></FONT> </DIV>
<DIV><FONT size=2>Rgds</FONT></FONT></DIV></DIV></FONT></DIV><FONT face=Tahoma
size=2>
<DIV><FONT face="Courier New"
color=#0000ff></FONT></FONT> </DIV></BLOCKQUOTE></BODY></HTML>