Custom Queuing

Unanswered Question
Oct 21st, 2009
User Badges:

Hi Friends,

I am trying to configure Custom Queuing in the Router. The requirement is as below:

HTTP traffic will share 50%

SMTP traffic will share 20%

NNTP traffic will share 10%

other traffic will share 20%

I know that custom queuing will be configured using Byte count. But the requirement is given in percentage format.

What is the math behind it to convert to Byte count as I donot know the Packet size.

Will you please take your valuable time to clear this concept



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
simontibbitts Wed, 10/21/2009 - 23:54
User Badges:
  • Silver, 250 points or more

Hi Sairam.

There is two ways of doing it:

1) The quick and easy way.

Apply the byte count with the same ratio as your percentages. EG: HTTP=500bytes SMTP=200bytes NNTP=100bytes OTHER=200bytes. However it is not a very good way of distributing the traffic but is very easy to understand and configure.

2) The correct and complex way.

Cisco have provided a formula for creating this. It is here:

Take your time and go through the steps one by one, it is a little complex but you will get the good result in the end.


Joseph W. Doherty Thu, 10/22/2009 - 04:09
User Badges:
  • Super Bronze, 10000 points or more

BTW, if your platform supports it, you might want to consider using CBWFQ instead of CQ.


This Discussion