I have me 3400 with sw version 12.2(60) sw image me340x-metroipaccessk9-m. I want to limit fa port for 50/50 connections. I have tried the below config but it doesn't give proper speed
policy-map 50Mbps-out
class class-default
shape average 50000000
policy-map 50Mbps-in
class class-default
police cir 50000000
conform-action transmit
exceed-action drop
interface FastEthernet0/1
description (50Mbps)
switchport access vlan 3512
load-interval 30
service-policy input 50Mbps-in
service-policy output 50Mbps-out
interface GigabitEthernet0/1
description uplink
port-type nni
switchport trunk allowed vlan 26,3512
switchport mode trunk
speed nonegotiate
Is there any error in the configuration.? Is there a better way to achieve this with service policy. Also why i am not able to apply policy-map 50Mbps-out to both input and output on the port.
Thanks