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

Rate limit 2960 Port to 1 MB

Please let me know how to rate limit the 2960 switch port to 1 MB.

I have made the specified chnages , how ever still it is reaching more tha 1 MB

Hard coded the bandwidth of port to 10 MB and have applied the specified command

srr-queue bandwidth limit 10

Still the computer on that port is reaching more than 1 MB

New Member

Re: Rate limit 2960 Port to 1 MB

In which direction does the traffic surpass 1Mb/s?

The srr queue commands are for egress only. If you want to limit ingress as well then you need to add a service policy to the interface that polices traffic to the required rate.

Also the srr-queue bandwidth limit command is not exact so you may see traffic egress the port above the set rate.


Re: Rate limit 2960 Port to 1 MB

1) Enabled QoS globally...

2960(config)#mls qos

2) Configure an ACL to define the matched traffic...

2960(config)#access-list 111 permit ip any any

3) Configure a class map for the matched traffic...

2960(config)#class-map traffic

2960(config-cmap)#match access 111

4) Configure a policy-map to define action...

2960(config)#policy-map Control

2960(config-pmap)#class traffic

2960(config-pmap-c)#police 10000000 8000 exceed-action drop

5) Attached the policy-map to the interface.

a) Example

-In this case, I'll attach the policy map to port_1....

2960(config)#int fa0/1

2960(config-if)#service-policy input Control

>>>>>> This will rate-limit traffic coming from the PC

New Member

Rate limit 2960 Port to 1 MB

Tried this solution on my WS-C2960-8TC-S V.12.2 but class-map and policy-map command does not seem to work.

Is there any solution for that?


Rate limit 2960 Port to 1 MB

Hi Frank,

try to upgrade ios and then try or you already on latest one ??

here is the example from my 2960 (55)

mls qos

ip access-list extended ACL_SLAP
permit ip any any

class-map match-all CLASS_SLAP
  match access-group name ACL_SLAP

policy-map POLICY_SLAP
  class CLASS_SLAP
    police 1000000  exceed-action drop

interface GigabitEthernet0/2
service-policy input POLICY_SLAP


New Member

Hello Singhamm,We have the

Hello Singhamm,

We have the following commands which you gave on our cisco 2960 switch but its just limiting my upload traffic (Egress) we can not limit our download speed(ingress),

We have checked the speed for the following on that ports via but still we are getting the maximum for the download. i am attaching the configuration please help me with this and do reply on

I will be grateful if i receive help from any one.



CreatePlease to create content