From: Pierre-Alex (paguanel@hotmail.com)
Date: Sat Jun 03 2006 - 17:26:56 ART
Its all clear now .
Thanks Petr and Chris for your help !!!
----- Original Message -----
From: Chris Lewis
To: Petr Lapukhov
Cc: Pierre-Alex ; ccielab@groupstudy.com
Sent: Saturday, June 03, 2006 8:54 PM
Subject: Re: hierarchical shaping versus shaping in conjunction to cbwfq
Pierre,
It's a bit difficult to sift through all of the materila in your first post,
I think most of its already discussed. Just a comment on one issue though.
Regards "Would Configuration 4 accomplish the same thing as
configuration 3 ?"
Configuration 3:
==========
policy pop
class main
shape a
service-policy toto
policy toto
class 1
bandwidth y
class 2
bandwidth z
==========
Configuration 4:
==========
policy pop
class main
shape a
class 1
bandwidth y
class 2
bandwidth z
Configuration 3 will shape the main interface to rate a, and bandwidth will
be applied to class 1 and 2 as configured. Configuration 4 will not achieve
the same thing. In a policy-map, the order of clas appearance is significant.
If class main matches all traffic, not traffic will ever fall dwon out of it
to be matched in class 1 or class 2, so the bandwidth configuration will not
have an effect for those classes.
Chris
On 6/3/06, Petr Lapukhov <petrsoft@gmail.com> wrote:
As for subinterface example.
Let's imagine that we have FastEthernet with two vlans: 10 and 20
We want to limit sending rate to every VLAN up to 1Mbs, and provide
some traffic reservation at the same time. Say give RTP priority, and
guarantee HTTP 384Kb on every vlan.
We can not directly put CBWFQ at subinterface - subinterface is never
congested, hence queueing in never activated. So we need to come
with a little bit more complicated idea.
First, we create CBWFQ strategy:
class-map VOICE
match protocol rtp
class-map HTTP
match protocol http
policy-map CBWFQ
class VOICE
priority 128
class HTTP
bandwith 384
Now, we should shape ALL the subinterface traffic to 1Mbs:
policy-map VLAN10_SHAPE
class class-default
shape average 1000000
service-policy CBWFQ
interface fastethernet 0/0.10
encapsulation dot1q 10
ip address 10.10.10.1 255.255.255.0
service-policy output VLAN10_SHAPE
So now we shape all VLAN10 traffic to 1Mbs, yet give some traffic
priority treatment.
HTH
Petr
_______________________________________________________________________
Subscription information may be found at:
http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Sat Jul 01 2006 - 07:57:31 ART