Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

Policy-maps not working on 3560

I've done bandwidth management with policy-maps. I managed to get it working when I was testing the switches. Now the switches are going to production use and the policys are not working! What can be wrong?

Below is the configuration. I've enabled qos with "mls qos" command on config mode.

The class map should match dscp 0 which means all traffic in this case.

Class Map match-all rate-limit (id 1)

Match ip dscp default

This should police the traffic to 2mb

Policy Map 2mb

Class rate-limit

police 2048000 192000 exceed-action drop

Here is the interface configuration:

interface GigabitEthernet0/2

description xxx

switchport access vlan xxx

switchport mode access

switchport protected

service-policy input 2mb

speed 100

no cdp enable

spanning-tree portfast

spanning-tree bpdufilter enable

end

Additional information:

sh mls qos

QoS is enabled

QoS ip packet dscp rewrite is enabled

1 REPLY

Re: Policy-maps not working on 3560

You should rather use the default class to match all traffic. Otherwise this should work. You might want to test with an ip access list that matches all traffic as an alternative. In that way you might be able to determine why your policy is not working.

Regards,

Leo

271
Views
0
Helpful
1
Replies
CreatePlease to create content