Hi Nilay,
i didnt quite get that you actually want to rate limit towards you router or from router towards the switch - VLANs.
anyway, here is an example of a rate limit policy-map:
policy-map RATE
class class-default .....[includes all traffic, you could use class-map's for more detailed classifications]
police 3000000 exceed-action drop
exit
interface X
service-policy in/out RATE ......[inbound or outbound, where u expect the rate limit to be enforced]
** if you are using a cisco switch, you also have the option of enforcing QoS on the switch, depends on the platform though.
Hope it Helps,
Soroush.
Hope it Helps!
Soroush.