From: Ivan (ivan@iip.net)
Date: Fri Oct 06 2006 - 05:21:16 ART
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
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
-- Ivan
This archive was generated by hypermail 2.1.4 : Wed Nov 01 2006 - 07:29:04 ART