cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
309
Views
0
Helpful
3
Replies

3560 policy doesn't work

MARCELO MATURO
Level 1
Level 1

I'm trying to applied a policy input in interface of 3560 to limite the traffic but it doesn't work. The config is simple:

!

class-map match-all prueba

match access-group 99

!

!

policy-map prueba

class prueba

police 10000000 8000 exceed-action drop

!

interface GigabitEthernet0/33

service-policy input prueba

!

Thank's

Marcelo

3 Replies 3

Peter010101
Level 1
Level 1

Hi Marcelo,

Did you enable mls qos (global command)?

What does your access-list 99 look like?

Also post your show policy-map interface GigabitEthernet0/33 output.

global mls is disabled.

99 is an standard ip access-list:

access-list 99 permit 76.253.168.52

sh policy-map interface gigabitEthernet 0/33

GigabitEthernet0/33

Service-policy input: prueba

Class-map: prueba (match-all)

0 packets, 0 bytes

offered rate 0 bps, drop rate 0 bps

Match: access-group 99

Class-map: class-default (match-any)

0 packets, 0 bytes

offered rate 0 bps, drop rate 0 bps

Match: any

0 packets, 0 bytes

rate 0 bps

You have to enable mls:

mls qos

HTH

Review Cisco Networking products for a $25 gift card