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?