[c-nsp] QoS on the 2960

Seth Mattinen sethm at rollernet.us
Wed Sep 22 20:16:53 EDT 2010


I'm trying to figure out QoS on a 2960 - something I've read about a lot
but never had to do before. I'm very simply attempting to limit a
customer to speed X, 8M for example. So far I have this:

!
mls qos srr-queue input bandwidth 100 1
mls qos srr-queue input buffers 100 0
mls qos srr-queue input priority-queue 2 bandwidth 0

class-map match-all customerX
 match access-group name customerX

policy-map customerX
 class customerX
  police 8000000 100000 exceed-action drop

interface FastEthernet0/1
 srr-queue bandwidth limit 10
 service-policy input customerX
!

Other than the fact that the "download" only gets at granular as 10%,
will this work?

I previously tried applying 8 meg policers (with mls qos srr-queue
defaults) on both the customer's port and the uplink port, but the net
result seemed to be about a 3 to 5 meg max rather than closer to 8. This
customer is alone on the switch.

~Seth


More information about the cisco-nsp mailing list