06-10-2012 09:16 PM - edited 03-07-2019 07:11 AM
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
06-15-2012 03:31 PM
hi,
Could you post your config here to see what u want to achieve?
06-16-2012 04:13 AM
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.
06-18-2012 11:42 AM
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
06-18-2012 01:57 PM
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.
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: