cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
637
Views
0
Helpful
1
Replies

Service policy on me3400: policing/shaping

imos19861
Level 1
Level 1

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

1 Reply 1

Hi,

You cannot apply a policy map with shaping in input direction, you can apply only in output direction. Which speed did you get after the policy is applied to the interface? In which direction you don't get proper speed?

Feederico