Custom Q to CBWFQ

From: neil K. (neil_k11@hotmail.com)
Date: Fri May 30 2003 - 13:06:40 GMT-3


Hi guys,

So far I have come to this for converting CQ to CBWFQ

Given Custom Queue with,

telnet byte-count 100
dns byte-count 300
www byte-count 200
default byte-count 400

As part of conversion
Total sum=1000

therefor Telnet= 100/1000=.1 = 10 %

dns= 300/1000=30 %

www= 20 %

Default=40 %

Total percentage = 10+30+20+40= 1000

now configure like this

class-map TEL
match protocol telnet

class-map dns
match protocol dns

class-map www
match protocol http

Policy-map P1

class TEL
bandwidth percent 10
class DNS
bandwidth percent 30
class www
bandwidth percent 20
class class-default
bandwidth percent 40

Int serial 0
max-reserved-bandwidth 100
service-policy P1 output
bandwidth 128

This seems to be correct if we use max-reserved-bandwidth 100 but then why
can't we use 128k and multiply with.75 (default for CBWFQ) and get bandwidth.

Help me fix this.

jason



This archive was generated by hypermail 2.1.4 : Mon Jun 02 2003 - 15:13:50 GMT-3