From: Michael Zuo (mzuo@ixiacom.com)
Date: Tue Oct 10 2006 - 19:39:22 ART
i think the DOWNLOAD class will not be used at all in the 2nd config.
Everything will be shaped to 5Mb and that is it.
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Ivan
Sent: Friday, October 06, 2006 1:21 AM
To: ccielab@groupstudy.com; msaeed@uaeu.ac.ae
Subject: Re: Nested Policy Map Question
In second case appear DOWNLOAD class don't be matched. Such as first
map-class
is class-default wich match all traffic. Accordingly class DOWNLOAD will
be
shaped at 5Mbit/s.
On Thursday 05 October 2006 22:43, msaeed@uaeu.ac.ae wrote:
> Here is the confoguration:
>
> conf t
> class-map match-any DOWNLOAD
> match protocol vines
> match protocol xns
> !
> policy-map POLICE
> class DOWNLOAD
> police 8000
> exit
> exit
> policy-map SHAPE
> class class-default
> shape average 5000000 160000 80000
> service-policy POLICE
> int s1
> service-policy out SHAPE
> end
> wr
>
> So, basically here I am haping the trafiic on the interface to 5MB and
> then with in that policy map I am policing the traffic to XNS and
vines
> protocols to 8000 bits per second. Now whats the differenece if I
apply
> the same requirements using two classes under same policy map? Here is
> the other solution
>
> conf t
> class-map match-any DOWNLOAD
> match protocol vines
> match protocol xns
> !
> policy-map SHAPE
> class class-default
> shape average 5000000 160000 80000
> class DOWNLOAD
>
> police 8000
> int s1
> service-policy out SHAPE
> end
> wr
>
> Regards,
>
> Mohammad Zahid Saeed
>
>
This archive was generated by hypermail 2.1.4 : Wed Nov 01 2006 - 07:29:05 ART