×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

Rate limit config on cisco 2950 switch

Unanswered Question
Jun 10th, 2012
User Badges:

Dear Friends,


I configured rate limit on cisco 2960 switch sexuss fully, but i could not configure in cisco 2950 (verson 12.1 (22).


Please help how to confiure the same on 2950



Thanks,

Srinivas. N

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
soroushm Fri, 06/15/2012 - 15:31
User Badges:
  • Gold, 750 points or more

hi,


Could you post your config here to see what u want to achieve?

Hitesh Vinzoda Sat, 06/16/2012 - 04:13
User Badges:
  • Silver, 250 points or more

Hi,


Below is an example to rate limit on ports using policy map


Switch(config)# access-list 1 permit 10.1.0.0 0.0.255.255

Switch(config)# class-map ipclass1

Switch(config-cmap)# match access-group 1

Switch(config-cmap)# exit

Switch(config)# policy-map flow1t

Switch(config-pmap)# class ipclass1

Switch(config-pmap-c)# police 5000000 8192 exceed-action dscp 10

Switch(config-pmap-c)# exit

Switch(config-pmap)# exit

Switch(config)# interface gigabitethernet0/1

Switch(config-if)# switchport mode access


Switch(config-if)# service-policy input flow1t


More reference at: http://www.cisco.com/en/US/docs/switches/lan/catalyst2950/software/release/12.1_22_ea5/configuration/guide/swqos.html#wp1045516

HTH

Hitesh


Pls rate useful posts.

Srinivas Narava Mon, 06/18/2012 - 11:42
User Badges:

Hi Hitesh,



Thank you for reply...


Ratelimit config for 2950, as you told will it work for all the ports or only perticler port.


I need to configure the ratelimit for particler port of 2950 only, will it work same configure,

or any changes are required.



Thanks,

Srinivas. N

soroushm Mon, 06/18/2012 - 13:57
User Badges:
  • Gold, 750 points or more

Hi,


you define your traffic class with class-map then set the rate limit and other settings under a policy-map, then you can associate the policy-map to any switchport you want, using the service-policy command.

but be careful when you define your traffic class (class-map), because the rate limit only applies to that traffic class.


in Hitesh example:

The rate limit only applies to traffic from subnet 10.1.0.0/16 comming into interface Gi0/1, limit is 5Mbps and burst size of 8Kpbs and if it exceeds the 5mbps limit, the switch sets the dscp value the packets in that flow to 10, which i think you want to drop instead.


plz Rate if it helped.


Soroush.

Actions

This Discussion