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

Rate limit config on cisco 2950 switch

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

Thanks & Regards, Srinivas. N.
4 REPLIES
Gold

Rate limit config on cisco 2950 switch

hi,

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

Hope it Helps!

Soroush.

Rate limit config on cisco 2950 switch

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.

Community Member

Rate limit config on cisco 2950 switch

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

Thanks & Regards, Srinivas. N.
Gold

Rate limit config on cisco 2950 switch

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.

Hope it Helps!

Soroush.
1481
Views
5
Helpful
4
Replies
CreatePlease to create content