RE: CBWFQ - Reseving BW for Voice

From: afocusli@eml.cc
Date: Wed Oct 22 2003 - 23:24:10 GMT-3


A example:

class-map match-all telnet
  match access-group 102
class-map match-all ftp
  match access-group 101
class-map match-all voice
  match ip precedence 5
!
!
policy-map qos
  class voice
    priority percent 30
Router#sh run int s1
Building configuration...

Current configuration : 111 bytes
!
interface Serial1
 bandwidth 1000
 no ip address
 max-reserved-bandwidth 100
 service-policy output qos
end

Router#sh queue s1
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 50
  Queueing strategy: weighted fair
  Output queue: 1/1000/64/50 (size/max total/threshold/drops)
     Conversations 1/1/256 (active/max active/max total)
     Reserved Conversations 0/2 (allocated/max allocated)
     Available Bandwidth 700 kilobits/sec

  (depth/weight/total drops/no-buffer drops/interleaves) 1/1024/0/0/0
  Conversation 262, linktype: address, length: 24

Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#policy qos
Router(config-pmap)#class ftp
Router(config-pmap-c)#band perc 25
Router(config-pmap-c)#class telnet
Router(config-pmap-c)#band perc 35
Router(config-pmap-c)#^Z
Router#s
1d02h: %SYS-5-CONFIG_I: Configured from console by consoleh queue s1
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 50
  Queueing strategy: weighted fair
  Output queue: 0/1000/64/50 (size/max total/threshold/drops)
     Conversations 0/1/256 (active/max active/max total)
     Reserved Conversations 2/2 (allocated/max allocated)
     Available Bandwidth 100 kilobits/sec

Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int s1
Router(config-if)#max 75
Reservable bandwidth is being reduced.
Some existing reservations may be terminated.
Router(config-if)#
1d02h: CBWFQ: Not enough available bandwidth for all classes Available
750 (kbps) Needed 900 (kbps)
1d02h: CBWFQ: Removing service policy on Serial1

Router#sh ver
.....
IOS (tm) 4500 Software (C4500-JK9S-M), Version 12.2(2)T4, RELEASE
SOFTWARE (fc3)

Samuel.

On Wed, 22 Oct 2003 11:37:23 -0500, "Kleberg, Jason" <JKleberg@glhec.org>
said:
> Could someone please post a working example and some gotcha's on this?
> Or
> at least a link where definitive answers exist.
>
> thank you
> jason
>
> -----Original Message-----
> From: David Bartlett [mailto:David.Bartlett@reuters.com]
> Sent: Wednesday, October 22, 2003 11:25 AM
> To: Cristian Henry H; Ken.Farrington@barclayscapital.com
> Cc: ccielab@groupstudy.com
> Subject: RE: CBWFQ - Reseving BW for Voice
>
>
> Cristian
>
> If you set max-reserved-bandwidth to 85% as you suggested you won't be
> able to apply the policy because the policy has allocated 90% of
> available cct bandwidth. The max-reserved-bandwidth configures the
> total amount of bw you can allocate across all classes + the priority
> queue.
>
> David
>
> -----Original Message-----
> From: Cristian Henry H [mailto:chenry@reuna.cl]
> Sent: 22 October 2003 16:06
> To: Ken.Farrington@barclayscapital.com
> Cc: ccielab@groupstudy.com
> Subject: Re: CBWFQ - Reseving BW for Voice
>
>
> Is my opinion the following:
>
> Total bandwidth = 1000 Kbps
> Requirements:
> 35% FTP Traffic
> 25% Telnet Traffic
> 30% Voice Traffic (and with priority as I you let us see)
> So,
>
> Configurations:
>
> policy-map traffic
> class voice
> priority 300 (30% of 1000)
> class telnet
> bandwidth 250 (25% of 1000)
> class ftp
> bandwidth 350 (35% of 1000)
>
> and I will use max-reseve-bandwidth 85 (15% of 700 = 100 Kbps aprox =
> 10% of 1000)
>
>
>
> Ken.Farrington@barclayscapital.com ha escrito:
> >
> > I am really sorry to e-mail again on this topic, but my head is about
> > to explode.
> >
> > (imagine its a 1Mbps cct)
> > I have an excercise to do the folloiwng
> >
> > Users on a that share a serial line, should have the following
> > restrictions
> > :-
> > 35% FTP Traffic
> > 25% Telnet Traffic
> > 30% Voice Traffic
> >
> > So, If I am asked a question such as the above,
> >
> > I should set the max-reseve-bandwidth to 90 on the interface, and
> > configure the queing as such?
> >
> > policy-map traffic
> > class voice
> > priority 300
> > class telnet
> > bandwidth 25
> > class ftp
> > bandwidth 35
> >
> > now when I configure queueing and I have put the voice traffic into a
> > strict LLQ, now my percentages change dont they?
> >
> > ie, we now have only 700k to play with for CBWFQ (imagine its a 1Mbps
> > cct) and PLEASE NOTE, that i cant seem to find a "priority percent"
> > command for LLQ - I assume one does not exist, so you have to specify
> > LLQ in Kbits only.
> >
> > Is the 300k for voice correct, as I have calulated this as 30% of the
> > total cct bandwidth, or should it be 30% of 900k as the
> > max-reserved-bandwidth is set to 90.
> >
> > Also, I dont now know if I should adjust my telnet and FTP percentages
>
> > to 25% of 700k or 25% of 600k as is the remaining bandwidth
> > total-bandwidth minus LLQ reserved BW or 90% of the bandwdith minum
> > LLQ reserved BW or will this just be done automatically? and I just
> > leave these alone?
> >
> > I am just about to go jump in a lake :(
> >
> > Im sorry to persist with this, but I gues we must have a clear
> > understanding of this for the lab.
> >
> > Many thx
> >
> > -----Original Message-----
> > From: McCallum, Robert [mailto:robert.mccallum@thus.net]
> > Sent: 22 October 2003 13:09
> > To: 'Ken.Farrington@barclayscapital.com'; 'ccielab@groupstudy.com'
> > Subject: RE: CBWFQ - Reseving BW for Voice
> >
> > Ken,
> >
> > The bandwidth command is the % bandwidth of the max bandwidth of the
> > interface i.e. default 75% so when you specify 25% to go into a
> > certain queue it is indeed 25% of 75% of interface bandwidth.
> >
> > Robert McCallum
> > CCIE #8757 R&S
> > 01415663448
> > 07818002241
> >
> > > -----Original Message-----
> > > From: Ken.Farrington@barclayscapital.com
> > > [mailto:Ken.Farrington@barclayscapital.com]
> > > Sent: 22 October 2003 12:24
> > > To: ccielab@groupstudy.com
> > > Subject: RE: CBWFQ - Reseving BW for Voice
> > >
> > >
> > > fantasic. so if I were to get an excecise with the percentages
> > > above the 75%, even thou the policy map will accpt the command, just
>
> > > the fact that they have given me an excersise totals more than the
> > > 75%, i must use the max-bandwidth command to 100, of what ever the
> > > total in the excercise is? Personally, I would set to the percentage
> > > maximum they have specified?
> > >
> > >
> > > correct?
> > >
> > > thx soo much for you help !!!
> > >
> > >
> > > -----Original Message-----
> > > From: David Bartlett [mailto:David.Bartlett@reuters.com]
> > > Sent: 22 October 2003 12:00
> > > To: Ken.Farrington@barclayscapital.com; ccielab@groupstudy.com
> > > Subject: RE: CBWFQ - Reseving BW for Voice
> > >
> > >
> > > Ken
> > >
> > > Yes, you should use LLQ's priority queue for voice traffic to ensure
>
> > > minimal delay variations. For this exercise you must set
> > > max-reserved-bandwidth to 100% as you suggest as the default max is
> > > 75%. If no class-default is configured, then traffic not matched by
> > > your ACLs will not be dropped but will use the remaining 10% bw and
> > > be given best effort treatment.
> > >
> > > Another important point to understand with LLQ is that using the
> > > bandwidth statement specifies the *minimum* bw that the class can
> > > use during periods of congestion. However, on the priority queue the
>
> > > bandwidth specifies the *maximum* bw that the queue can use during
> > > congestion periods. The priority queue is policied and traffic
> > > exceeding the configured bw will be dropped.
> > >
> > > Hope this helps,
> > >
> > > David Bartlett
> > >
> > > -----Original Message-----
> > > From: Ken.Farrington@barclayscapital.com
> > > [mailto:Ken.Farrington@barclayscapital.com]
> > > Sent: 22 October 2003 11:47
> > > To: ccielab@groupstudy.com
> > > Subject: CBWFQ - Reseving BW for Voice
> > >
> > >
> > > All,
> > >
> > > Good Morning,
> > >
> > > Please can I confirm a couple of points.
> > >
> > > On the excersise below, Should I use for voice traffic, the
> > > priority keyword as this I beleive invokes LLQ or should i just use
> > > bandwidth (i think this may cause delay in the queing of voice data
> > > and is not a good
> > > idea?)
> > >
> > > What happens if I do not specify max-bandwidth on the interface to
> > > 100 as my %s total 90% - Is this 90% of the 75% that is used by
> > > default?
> > >
> > > If I dont specify a class-default, does all other traffic get
> > > denied, or is just quese in the remain 25 percent reserved for other
>
> > > traffic?
> > >
> > >
> > > Please if someone could help me on these points, it would be
> > > fantasic.
> > >
> > > Many thx,
> > > Ken
> > >
> > >
> > > I have an excercise to do the folloiwng
> > >
> > > Users on a that share a serial line, should have the following
> > > restrictions
> > > :-
> > > 35% FTP Traffic
> > > 25% Telnet Traffic
> > > 30% Voice Traffic
> > >
> > > so, using CBWFQ config as below
> > >
> > > map-class voice
> > > match access-group 100
> > > map-class telnet
> > > match access-group 110
> > > map-class ftp
> > > match access-group 120
> > >
> > > policy-map traffic
> > > class voice
> > > priority 30
> > > class telnet
> > > bandwidth 25
> > > class ftp
> > > bandwidth 35
> > >
> > >
> > > acess-list ............
> > >
> > >
> > > --------------------------------------------------------------
> > > ----------
> > > For more information about Barclays Capital, please
> > > visit our web site at http://www.barcap.com.
> > >
> > >
> > > Internet communications are not secure and therefore the Barclays
> > > Group does not accept legal responsibility for the contents of this
> > > message. Although the Barclays Group operates anti-virus
> > > programmes, it does not accept responsibility for any damage
> > > whatsoever that is caused by viruses being passed. Any views or
> > > opinions presented are solely those of the author and do not
> > > necessarily represent those of the
> > >
> > > Barclays Group. Replies to this email may be monitored by the
> > > Barclays Group for operational or business reasons.
> > >
> > > --------------------------------------------------------------
> > > ----------
> > >
> > > ______________________________________________________________
> > > _________
> > > 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
> > >
> > >
> > > --------------------------------------------------------------- -
> > > Visit our Internet site at http://www.reuters.com
> > >
> > > Get closer to the financial markets with Reuters Messaging - for
> > > more information and to register, visit
> > > http://www.reuters.com/messaging
> > >
> > > Any views expressed in this
> > > message are those of the individual sender, except where the
> > > sender specifically states them to be the views of Reuters Ltd.
> > >
> > > ______________________________________________________________
> > > _________
> > > 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
>
> --
> Cristian E. Henry
> REUNA
>
> E-mail: chenry@reuna.cl
> Fono: 56-2-3370336
>
> _______________________________________________________________________
> 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
>
>
> --------------------------------------------------------------- -
> Visit our Internet site at http://www.reuters.com
>
> Get closer to the financial markets with Reuters Messaging - for more
> information and to register, visit http://www.reuters.com/messaging
>
> Any views expressed in this message are those of the individual
> sender, except where the sender specifically states them to be
> the views of Reuters Ltd.
>
> _______________________________________________________________________
> 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

-- 
  
  afocusli@eml.cc

-- http://www.fastmail.fm - IMAP accessible web-mail



This archive was generated by hypermail 2.1.4 : Mon Nov 24 2003 - 07:53:07 GMT-3