From: Anant Tamgole (anant.tamgole@gmail.com)
Date: Thu Aug 21 2008 - 02:31:26 ART
Hi,
A quick question.
If we require in percent, then it will be 3000/10800 ~ 28%.
Anant
On Wed, Aug 20, 2008 at 11:04 PM, Igor M. <imanassypov@rogers.com> wrote:
> Ok, it is very simple. The purpose of the custom queue in your example is
> to
> perform WFQ in MQC language. In order to convert between the two, you have
> to
> understand that with CQ the byte counts are relative, so you have to do
> some
> simple math to convert the percentage to actual bw values. So, in CQ your
> total byte count is 10800, for example the http traffic then is reserving
> 3000/10800 * 128 ~ 35 kbps... Under your phys interface do not forget to
> specify the bw value as well as max-reservable to 100%
>
> HTH
>
> -igor
>
> interface FastEthernet0/0
> no switchport
> bandwidth 128
> ip address 10.1.1.1 255.255.255.0
> max-reserved-bandwidth 100
> service-policy output WFQ
>
> policy-map WFQ
> class http
> bandwidth 35
> queue-limit 100
> class ftp
> bandwidth 60
> queue-limit 100
> class dns
> bandwidth 12
> queue-limit 100
> class telnet
> bandwidth 9
> queue-limit 100
> class class-default
> bandwidth 12
> queue-limit 100
> service-policy output WFQ
>
>
>
> Router#sh policy-map interface f0/0
> FastEthernet0/0
>
> Service-policy output: WFQ
>
> Class-map: http (match-all)
> 0 packets, 0 bytes
> 5 minute offered rate 0 bps, drop rate 0 bps
> Match: protocol http
> Queueing
> Output Queue: Conversation 41
> Bandwidth 35 (kbps)Max Threshold 100 (packets)
> (pkts matched/bytes matched) 0/0
> (depth/total drops/no-buffer drops) 0/0/0
>
> Class-map: ftp (match-all)
> 0 packets, 0 bytes
> 5 minute offered rate 0 bps, drop rate 0 bps
> Match: protocol ftp
> Queueing
> Output Queue: Conversation 42
> Bandwidth 60 (kbps)Max Threshold 100 (packets)
> (pkts matched/bytes matched) 0/0
> (depth/total drops/no-buffer drops) 0/0/0
>
> Class-map: dns (match-all)
> 0 packets, 0 bytes
> 5 minute offered rate 0 bps, drop rate 0 bps
> Match: protocol dns
> Queueing
> Output Queue: Conversation 43
> Bandwidth 12 (kbps)Max Threshold 100 (packets)
> (pkts matched/bytes matched) 0/0
> (depth/total drops/no-buffer drops) 0/0/0
>
> Class-map: telnet (match-all)
> 0 packets, 0 bytes
> 5 minute offered rate 0 bps, drop rate 0 bps
> Match: protocol telnet
> Queueing
> Output Queue: Conversation 44
> Bandwidth 9 (kbps)Max Threshold 100 (packets)
> (pkts matched/bytes matched) 0/0
> (depth/total drops/no-buffer drops) 0/0/0
>
> Class-map: class-default (match-any)
> 0 packets, 0 bytes
> 5 minute offered rate 0 bps, drop rate 0 bps
> Match: any
> Queueing
> Output Queue: Conversation 45
> Bandwidth 12 (kbps)Max Threshold 100 (packets)
> (pkts matched/bytes matched) 0/0
> (depth/total drops/no-buffer drops) 0/0/0
>
>
>
>
> ----------------------
>
> I.M., M.Eng. P.Eng.
>
> Network Architect
>
> CI Investments
>
> ----------------------
>
> --- On Wed, 8/20/08, Ibrahim kabir <kebramccie@live.com> wrote:
> From: Ibrahim kabir <kebramccie@live.com>
> Subject: RE:
> To: "Igor M." <imanassypov@rogers.com>, ccielab@groupstudy.com
> Received: Wednesday, August 20, 2008, 11:30 AM
>
> Yeah smething like
>
>
> Reference bandwidth is 128k
>
> Queue-list 1 protocol ip 1 tcp http
> Queue-list 1 protocol ip 2 tcp ftp
> Queue-list 1 protocol ip 3 udp 53
> Queue-list 1 protocol ip 4 tcp telnet
> Queue-list 1 protocol ip 16 default
>
> queue-list 1 protocol 1 byte-count 3000 limit 100
> queue-list 1 protocol 2 byte-count 5000 limit 100
> queue-list 1 protocol 3 byte-count 1000 limit 100
> queue-list 1 protocol 4 byte-count 800 limit 100
> queue-list 1 protocol 16 byte-count 1000 limit 100
> Thanks in advance Igor
>
> HTH
>
> kabir
> _________________________________________________________________
> Discover the new Windows Vista
> http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
This archive was generated by hypermail 2.1.4 : Mon Sep 01 2008 - 08:15:31 ART