RE: Police and Bandwidth Allocation

From: Brian McGahan (brian@cyscoexpert.com)
Date: Wed Mar 05 2003 - 17:57:59 GMT-3


That config should be fine. One of the main advantages of the MQC is
that you can do multiple QoS mechanisms at the same time. The
'bandwidth' statement is doing a minimum bandwidth allocation for you,
while the policing is setting an upper limit at the same time.

HTH

Brian McGahan, CCIE #8593
Director of Design and Implementation
brian@cyscoexpert.com

CyscoExpert Corporation
Internetwork Consulting & Training
Toll Free: 866.CyscoXP
Fax: 847.674.2625

> -----Original Message-----
> From: soon ccie [mailto:soonccie@yahoo.com]
> Sent: Wednesday, March 05, 2003 1:38 PM
> To: Dave Swink; Brian McGahan; ccielab@groupstudy.com
> Subject: RE: Police and Bandwidth Allocation
>
> The question does not state it whether it is in congestion or not in
> congestion, so it could be
> BOTH. If you use LLQ, you would add a priority queue which is
processed
> before others, but the
> question does not explitely require that.
>
> Task: "ensure tftp traffic on int s0/0 to have 10% of bandwidth and
drop
> the traffic if it goes
> above 10%".
>
> I still need confirmation if below is OK, i.e. (1) IOS accepts the
config,
> (2)whether or not there
> is congestion, the bandwidth is reserved and it can not goes above:
>
> policy-map police-my
> class class-tftp
> bandwidth 154400 !****** should I add this line?
> police 154400 conform-action transmit exceed-action drop !*****10%
> =154,400
>
> int s0/0
> service-policy output police-my
>
>
> --- Dave Swink <dswink@austin.rr.com> wrote:
> > Does your requirement specify this behavior all of the time, or just
in
> > times of congestion? LLQ will guarantee the configured percentage
of
> > bandwidth for a class and then drop class traffic over that
percentage
> when
> > congested.
> >
> > Dave Swink
> >
> > -----Original Message-----
> > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf
Of
> > soon ccie
> > Sent: Tuesday, March 04, 2003 8:05 PM
> > To: Brian McGahan; ccielab@groupstudy.com
> > Subject: RE: Police and Bandwidth Allocation
> >
> >
> > Thanks Brian!
> >
> > So, how to meet the requirement: "ensure tftp traffic on int s0/0 to
> have
> > 10% of bandwidth and
> > drop the traffic if it goes above 10%".
> >
> > Shouldn't we do reservation and policing at the same time? (IOS does
not
> > seem to complain when
> > putting both commands in.) I'm a little concerned policing along
would
> not
> > meet the req since it
> > does not reserve bandwidth.
> >
> >
> >
> > --- Brian McGahan <brian@cyscoexpert.com> wrote:
> > > Traffic policing is not a bandwidth reservation; therefore it
doesn't
> > > have anything to do with the interface bandwidth nor the
percentage
> that
> > > can be allocated.
> > >
> > > As a side note, you can change the amount of reservable bandwidth
on
> an
> > > interface with the 'max-bandwidth-percent' interface command. See
the
> > > following link for more detail:
> > >
> > >
>
http://www.cisco.com/en/US/products/sw/iosswrel/ps1839/products_feature_
> > > guide09186a0080087af0.html
> > >
> > >
> > > For more detail on traffic policing:
> > >
> > >
>
http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_configur
> > > ation_guide_chapter09186a00800bd8ed.html
> > >
> > >
> > >
> > > HTH
> > >
> > > Brian McGahan, CCIE #8593
> > > Director of Design and Implementation
> > > brian@cyscoexpert.com
> > >
> > > CyscoExpert Corporation
> > > Internetwork Consulting & Training
> > > Toll Free: 866-CyscoXP
> > > Outside US: 847.674.3392
> > > Fax: 847.674.2625
> > >
> > >
> > > > -----Original Message-----
> > > > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On
Behalf
> > > Of
> > > > soon ccie
> > > > Sent: Sunday, March 02, 2003 4:00 PM
> > > > To: ccielab@groupstudy.com
> > > > Subject: Police and Bandwidth Allocation
> > > >
> > > > Can anyone confirm that the total bandwidth specified in the
police
> > > > command seems bypass the
> > > > default 75% bandwidth check?
> > > >
> > > > In the example below, s0/0 is T1, so 75% = 1,158,000, but
1,200,000
> is
> > > > accepted:
> > > > policy-map police-my
> > > > class class-http
> > > > police 1000000 conform-action transmit exceed-action drop
> > > > class class-tftp
> > > > police 200000 conform-action transmit exceed-action drop
> > > > class class-default
> > > >
> > > > int s0/0
> > > > service-policy output police-my
> > > >
> > > > My big question is then: Does the police command is actually
> allowcate
> > > the
> > > > bandwidth to the
> > > > individual classes? Note that if I switch police to bandwidth
> command
> > > > above, the policy would not
> > > > be accepted because of default 75% rule.
> > > >
> > > >
> > > >
> > > > If I have a task stated as "ensure tftp traffic on int s0/0 to
have
> > > 10% of
> > > > bandwidth and drop the
> > > > traffic if it goes above 10%", so soln could it be(???):
> > > >
> > > > policy-map police-my
> > > > class class-tftp
> > > > bandwidth percent 10 !****** should I add this line?
> > > > police 154400 conform-action transmit exceed-action drop
!*****
> > > 10% =
> > > > 154,400
> > > > int s0/0
> > > > service-policy output police-my !*** IOS accepts this.
> > > >
> > > > Thanks.
> > > >
> > > >
> > > > __________________________________________________
> > > > Do you Yahoo!?
> > > > Yahoo! Tax Center - forms, calculators, tips, more
> > > > http://taxes.yahoo.com/
> > >
> > >
> >
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Tax Center - forms, calculators, tips, more
> > http://taxes.yahoo.com/
> >
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, more
> http://taxes.yahoo.com/



This archive was generated by hypermail 2.1.4 : Sat Apr 05 2003 - 08:51:33 GMT-3