From: Gery Pang (pang_gery@yahoo.com.hk)
Date: Wed Mar 05 2003 - 10:50:47 GMT-3
Could I meet the requirment?
acc 101 permit udp any eq tftp any
acc 101 permit udp any any eq tftp
class-map match-all tftpclass
match access-group 101
policy-map tftppolicy
class tftpclass
bandwidth percent 10
class class-default
fair-queue
int s0/0
service-policy output/input tftppolicy
Thanks.
Gery
<<< soon ccie <soonccie@yahoo.com> 3/ 5 10:05a >>>
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/
>
>
This archive was generated by hypermail 2.1.4 : Sat Apr 05 2003 - 08:51:32 GMT-3