RE: converting custom queue to cbwfq

From: Brian McGahan (bmcgahan@internetworkexpert.com)
Date: Mon Mar 15 2004 - 14:41:28 GMT-3


        LOL, I didn't even notice that. The list is meant to read:

queue-list 1 protocol ip 1 tcp telnet
queue-list 1 protocol ip 2 tcp 53
queue-list 1 protocol ip 3 dlsw
queue-list 1 protocol ip 4 tcp www
queue list 1 queue 1 byte count 2000
queue-list 1 queue 2 byte count 1000
queue-list 1 queue 3 byte count 4000
queue-list 1 queue 4 byte count 1000

Brian McGahan, CCIE #8593
bmcgahan@internetworkexpert.com

Internetwork Expert, Inc.
http://www.InternetworkExpert.com
Toll Free: 877-224-8987 x 705
Outside US: 775-826-4344 x 705

> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> Alexander Arsenyev (GU/ETL)
> Sent: Monday, March 15, 2004 10:39 AM
> To: ccielab@groupstudy.com
> Subject: RE: converting custom queue to cbwfq
>
> Anyone spotted that byte counts below are applicable to different queue-
> lists?
> Therefore for queue-list 1 we have - verbatim:
> queue 1 - byte count 2000
> queue 2 - byte count default (1500)
> queue 3 - byte count default (1500)
> queue 4 - byte count default (1500)
>
> HTH,
> Cheers
> Alex
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
> Brian McGahan
> Sent: 13 March 2004 21:27
> To: alsontra@hotmail.com; ccielab@groupstudy.com
> Subject: RE: converting custom queue to cbwfq
>
>
> Alsontra,
>
> Here is the verbatim conversion, see if you can spot why the config
> is as it is:
>
> queue-list 1 protocol ip 1 tcp telnet
> queue-list 1 protocol ip 2 tcp 53
> queue-list 1 protocol ip 3 dlsw
> queue-list 1 protocol ip 4 tcp www
> queue list 1 queue 1 byte count 2000
> queue-list 2 queue 1 byte count 1000
> queue-list 3 queue 1 byte count 4000
> queue-list 4 queue 1 byte count 1000
>
> CONVERTS TO:
>
> class-map DNS
> match protocol dns
> class-map DLSW
> match protocol dlsw
> class-map HTTP
> match protocol http
> !
> policy-map CQ_2_CBWFQ
> class DNS
> queue-limit 20
> bandwidth percent 13
> class DLSW
> queue-limit 20
> bandwidth percent 50
> class HTTP
> queue-limit 20
> bandwidth percent 13
> class class-default
> queue-limit 20
> bandwidth percent 24
> !
> interface Serial0/0
> bandwidth 128
> max-reserved-bandwidth 100
> service-policy output CQ_2_CBWFQ
>
>
> See if you can spot the issue ;)
>
> Brian McGahan, CCIE #8593
> bmcgahan@internetworkexpert.com
>
> Internetwork Expert, Inc.
> http://www.InternetworkExpert.com
> Toll Free: 877-224-8987 x 705
> Outside US: 775-826-4344 x 705
>
>
> > -----Original Message-----
> > From: alsontra@hotmail.com [mailto:alsontra@hotmail.com]
> > Sent: Saturday, March 13, 2004 5:00 PM
> > To: Brian McGahan
> > Subject: Re: converting custom queue to cbwfq
> >
> > Brian,
> >
> > I understand that you need the bandwidth of the interface or PVC's
> min_cir
> > to convert CQ to CBWFQ. Based on this equations:
> >
> > (queue byte count / total byte count of all queues) * ((bandwidth
> capacity
> > of the interface * 75%) - RTP - LLQ - RSVP_BANDWIDTH)
> >
> > (Speaking specifically about IOS 12.2T and your recent rehash of the
> > subject): Can I infer the following:
> >
> > (2000/8000) * ((128000 * 75%) - 0 - 0 -0) = 25% of bandwidth
> > (1000/8000) * ((128000 * 75%) - 0 - 0 -0) = 12.5 of bandwidth
> > (4000/8000) * ((128000 * 75%) - 0 - 0 -0) = 50 of bandwidth
> > (1000/8000) * ((128000 * 75%) - 0 - 0 -0) = 12.5 of bandwidth
> >
> > ________
> >
> > policy-map converttocbwfq
> > class-map telnet
> > bandwidth percent 25%
> > class map tcpdns
> > bandwidth percent 12.5%
> > class map dlsw
> > bandwidth percent 50%
> > class map www
> > bandwidth percent 12.5
> >
> > I do not understand the significance of the default queue and queue
> depth
> > in
> > this equation. What have I missed??
> >
> > Thanks for your time,
> > Al
> >
> >
> >
> >
> >
> > ----- Original Message -----
> > From: "Brian McGahan" <bmcgahan@internetworkexpert.com>
> > To: "'Tom Wojahn'" <enthusiastictom@writeme.com>; "'ccie r&r oup'"
> > <ccielab@groupstudy.com>
> > Sent: Saturday, March 13, 2004 11:54 AM
> > Subject: RE: converting custom queue to cbwfq
> >
> >
> > > > In this case the bandwidth of 128 not valuable information
> > >
> > > Yes it is. The available bandwidth used as a reference by the MQC is
> > based
> > > on the configured bandwidth value of the interface.
> > >
> > > > I have a total of 8000 bytes on the custom queue
> > >
> > > Where is your default queue?
> > >
> > > What is your queue depth?
> > >
> > > What version are you configuring this on? There is a discrepancy of
> > > absolute vs. relative reservations on a per version basis that was
> > rehashed
> > > just recently.
> > >
> > >
> > >
> > > Brian McGahan, CCIE #8593
> > > bmcgahan@internetworkexpert.com
> > >
> > > Internetwork Expert, Inc.
> > > http://www.InternetworkExpert.com
> > > Toll Free: 877-224-8987 x 705
> > > Outside US: 775-826-4344 x 705
> > >
> > >
> > > > -----Original Message-----
> > > > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf
> > Of
> > > > Tom Wojahn> > policy-map converttocbwfq
> > > > class-map telnet
> > > > bandwidth percent 2000/8000 or 25% to get to 75% 25/100
> =
> > > > x/75 19%
> > > > class map tcpdns
> > > > bandwidth percent 1000/8000 or 12.5% to get to 75 %
> > 12.5/100
> > > > = x/75 9.375% 9%
> > > > class map dlsw
> > > > bandwidth percent 4000/8000 or 50 % to get to 75%
> > > > 50/100=x/75 38%
> > > >
> > > > class map www
> > > > bandwidth percent 1000/8000 pr 12.5 % to get to 75% 12.5
> > > > /13=x/75 9.375 9%
> > > >
> > > >
> > > > total percent 19+9+38+9 = 75%
> >
> > > > Sent: Saturday, March 13, 2004 9:17 AM
> > > > To: ccie r&r oup
> > > > Subject: converting custom queue to cbwfq
> > > >
> > > > I have a scenario where you are given
> > > > the reason I am asking is my answers did not match the answers given
> > > >
> > > > 128kb serial line
> > > >
> > > > A custom queue
> > > >
> > > > queue-list 1 protocol ip 1 tcp telnet
> > > > queue-list 1 protocol ip 2 tcp 53
> > > > queue-list 1 protocol ip 3 dlsw
> > > > queue-list 1 protocol ip 4 tcp www
> > > >
> > > > queue list 1 queue 1 byte count 2000
> > > > queue-list 2 queue 1 byte count 1000
> > > > queue-list 3 queue 1 byte count 4000
> > > > queue-list 4 queue 1 byte count 1000
> > > >
> > > > build a CBWFQ using percent not kb
> > > >
> > > > My theory and work
> > > >
> > > > In this case the bandwidth of 128 not valuable information
> > > >
> > > > I have a total of 8000 bytes on the custom queue
> > > >
> > > >
> > > >
> > _______________________________________________________________________
> > > > Please help support GroupStudy by purchasing your study materials
> > from:
> > > > http://shop.groupstudy.com
> > > >
> > > > Subscription information may be found at:
> > > > http://www.groupstudy.com/list/CCIELab.html
> > >
> > >
> _______________________________________________________________________
> > > Please help support GroupStudy by purchasing your study materials
> from:
> > > http://shop.groupstudy.com
> > >
> > > Subscription information may be found at:
> > > http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Please help support GroupStudy by purchasing your study materials from:
> http://shop.groupstudy.com
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
> This communication is confidential and intended solely for the
> addressee(s). Any unauthorized review, use, disclosure or distribution is
> prohibited. If you believe this message has been sent to you in error,
> please notify the sender by replying to this transmission and delete the
> message without disclosing it. Thank you.
>
> E-mail including attachments is susceptible to data corruption,
> interruption, unauthorized amendment, tampering and viruses, and we only
> send and receive e-mails on the basis that we are not liable for any such
> corruption, interception, amendment, tampering or viruses or any
> consequences thereof.
>
> _______________________________________________________________________
> Please help support GroupStudy by purchasing your study materials from:
> http://shop.groupstudy.com
>
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Thu Apr 01 2004 - 08:15:28 GMT-3