05-31-2016 03:41 AM - edited 03-08-2019 06:00 AM
I need to do rate limiting on a physical interface and limit INPUT and OUTPUT to 5Mb for a customer.
The device is a WS-C6509-E. Operating system version is 12.2 (18) SXF14. Supervisor Engine 720
I tried creating a policy map applied on the interface. This is the configuration:
class-map match-any CUSTOMER
match access-group name CUSTOMER
policy-map 5Mbps-out
class CUSTOMER
police cir 5000000 bc 1000000 be 1000000 conform-action transmit exceed-action drop violate-action drop
policy-map 5Mbps-in
class CUSTOMER
police cir 5000000 bc 1000000 be 1000000 conform-action transmit exceed-action drop violate-action drop
interface GigabitEthernet2/48
description # TEST#
switchport
switchport access vlan 100
switchport mode access
service-policy input 5Mbps-in
This works only in input and limits regularly. It does not work in the direction of 'out'. I get the message: 'MQC features are not supported in output direction for this interface'.
How can I also limiting out?
I tried also with the 'rate-limit'command on the Interface VLAN 100 but does not limit in both directions.
Do you have any suggestion to limit in both directions?
05-31-2016 04:20 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages wha2tsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
Is it possible to rate limit ingress on the interface that provides the customer's egress?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide