cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1787
Views
5
Helpful
4
Replies

Rate limit config on cisco 2950 switch

Srinivas N
Level 1
Level 1

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 4

smehrnia
Level 7
Level 7

hi,

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

Hope it Helps!

Soroush.

Hitesh Vinzoda
Level 4
Level 4

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.

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.

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.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: