From: Darby Weaver (darbyweaver@yahoo.com)
Date: Fri Apr 27 2007 - 05:33:54 ART
Here's my thoughts on the question:
class-map match-all precedence
match ip prec 5
class-map match-all data
match input-interface F0
policy-map police --> Child (Policing is typically
done in the Child Policy Map)
class data --> Parent (Shaping is configured in the
Parent Policy Map)
bandw 128 --> CBWFQ
shape average 256000 --> Enables Traffic Shaping
class precedence
bandw 384 --> CBWFQ
shape peak 512000 --> Policing Function
int s0
no ip address
encap frame
service-policy out police
sh service policy int s0 -> Verify if traffic is
getting hits and is working correctly.
My interpretation is that we are matching packets
coming into the router and marking them with a
precedence of 5 from int F0.
Then we are sending them out the S0/0 interface with
the policy for each class. The actual limits would
depend on the specific DLCI's they would be applied to
the interface S0/0 i.e. each may different and if so
then we would need more specifics. And I think I
would either ask my proctor/vendor for the specifics,
but normally I would apply the policy directly to the
DLCI itself and to each applicable DLCI - but your
question did not specify. Now if the interface is
physical then I think we are ok.
But you did not say which DLCI's are on the interface
or if we are dealing with a physical interface.
I'm going to assume you meant physical.
The goal does seem to me to be to regulate traffic on
a per-class basis as opposed to a per-DLCI basis.
So unless I was told to specify differently on a
specif DLCI. Your specification which seem pretty
clear did not mention this explicitly and I do not
think it is implicit either.
Which workbook are you using? And what is the answer
given by the vendor?
I am open to correction and more in depth
interpretation. Please let me know if I went to far
off of the path.
I used this univercd reference:
--- Sam <syed_wsu@yahoo.com> wrote:
> Hi All,
>
>
> |---S0.1 | |--------S0.1
> Router A | |FR Cloud |
> RouterB(Fa0)--
> |---S0.2 | |--------S0.2
>
>
> I have to do shaping to satisfy the following
> conditions
>
> a. Create 2 classes apart from default
> b. Match traffic coming via fa0
> c. Match all traffic with ip prec 5
>
> Traffic from first class must be ensured 128K and
> shaped at 256
> Traffic from second class must be ensured 384K but
> if
> there is available BW then shape it to 512K.
>
> Proposed Solution:
> On Router B
>
> class-map match-all precedence
> match ip precedence 5
> class-map match-all data
> match input-interface FastEthernet0
> !
> policy-map police
> class data shape average 256000
> bandwidth 128
> class precedence
> shape peak 512000
> bandwidth 384
>
> Int s0
> service-policy out police
>
> I am not sure if it is Ok to apply the service
> policy
> on the physical interface as it does not have an IP
> address. Also the parameters given are not DLCI
> specific. I would appreciate your guidence on this.
>
>
>
> Thanks in Advance
> Sam
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
>
This archive was generated by hypermail 2.1.4 : Tue May 01 2007 - 08:28:38 ART