From: Pierre-Alex GUANEL (paguanel@gmail.com)
Date: Sun Aug 31 2008 - 17:52:25 ART
Hi, I can see two ways of solving this problem:
1) Using CBWFQ outbound on R1
If we interpret "traffic from R2" as traffic transiting R2, then I would tag
Web traffic outbound on R2 Ethernet, and use this tagging on R1 outbound
towards the WAN, to reserve 2 Mbps of bandwidth. (N.B. if R2 and R3 are in
the same subnet, tagging on R2 is needed so we can differentiate
which router Web traffic transited).
If we interpret "traffic from R2" as traffic initiated by R2, then in you
access-list 100, I would put all the interfaces of router R2 . I would then
reserve bandwidth on R1 outbound.
2) Using a Policier inbound on R1
If "allocate" means a "strict limit" for Web Traffic, I would use a
policier as follows:
policy-map R1_inbound
class Web_from_R2
police 2000000
class class-default
police 8000000
in case "allocate" means means "at least 2 Mbps" I would do:
policy-map R1_inbound
Class Everthing_Except_Web_from_R2
police 8000000
class class-default
To find if solution 1) rather than solution 2) is expected I would ask the
proctor the following two question:
a- When we are asked to "allocate bandwidth " are we expected to guarante
bandwidth all times or only during time of congestion?
b- Does "allocate bandwidth" implies a strict limit or a minimum bandwidtn
that must be available ? ( I know it is a strechy interpratation of the
word
"allocate" but better ask just in case ...
ref : From Webster dictionary: "To allocate is to set apart for a special
purpose"
Regards
Pierre-Alex
----- Original Message -----
From: "akyccie" <akyccie@gmail.com>
To: <ccielab@groupstudy.com>
Sent: Monday, August 25, 2008 8:20 PM
Subject: CBWFQ
> R1 is connected to R2 and R3 over ethernet. I wanted to allocated 2mb of
> bandwidth on R1 for the web traffice coming from R2. It's seems CBWFQ
> can't be
> applied on input. So I guess we need to use rate limit here if aksed to
> make
> the change only on R1
>
> R1
> access-list 100 permit ip any any eq 80
> !
> class-map match-all C1
> match access-group 100
> !
> policy-map P1
> class C1
> bandwidth 2000
> !
> R1(config)#int fa0/0
> R1(config-if)#service-policy input P1
> CBWFQ : Can be enabled as an output feature only
> !
> R1(config-if)#service-policy output P1
> R1(config-if)#exit
>
>
> -aky
>
>
> 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:33 ART