From: msaeed@uaeu.ac.ae
Date: Thu Oct 05 2006 - 15:43:38 ART
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:04 ART