05-12-2011 07:46 AM - edited 03-06-2019 05:01 PM
Hi,
can rate limiting be performed on the 3750? 4500? or is it the 6500 only?
Thanks.
Solved! Go to Solution.
05-12-2011 01:10 PM
On 3750s :
Rate limiting is not supported by 3750, but policing is:
One way to do egress rate-limiting is using: 'srr-queue bandwidth limit' command.
For e.g:
Switch(config)# interface gigabitethernet 1/0/2
Switch(config-if)# srr-queue bandwidth limit 70
Another Way is :
policy-map rate-limit
class class-default
police 1000000 8000 exceed-action drop
int gi1/0/3
service-policy input rate-limit
service-policy output rate-limit
That should limit inbound and outbound at 1Mb
Another example is :
mls qos
!
class-map match-any Policy
match ip dscp 0 8 16 24 32 40 48 56
policy-map limit30M
class Policy
police 30000000 512000 exceed-action drop
!
end
int gi 1/0/1
speed 100
duplex full
service-policy input limit30M
srr-que bandwidth limit 30 (expressed as % of 100/full or 30% of 100MB, which is 30MB)
i did not try this but this might wrk i guess,, please try in a lab if u have
i think you can kinda play with these commands
Try and look through the command reference for 3750 for many ways
These are my understandings
Thnx
05-12-2011 10:43 AM
05-12-2011 11:19 AM
Thanks for your reply and taking the time to include that link.
A Cisco engineer had posed this question to me earlier today but didn't have time to answer. In considering his question and looking at the link you provided, I think he was speaking of rate limiting by protocol instead of by a percentage of a port's line speed.
Something more along these lines is what I believe he meant (router platform reference)
http://www.cisco.com/en/US/docs/ios/12_2/qos/command/reference/qrfcmd8.html
Is the 6500 platform the only one that can do this?
05-12-2011 01:10 PM
On 3750s :
Rate limiting is not supported by 3750, but policing is:
One way to do egress rate-limiting is using: 'srr-queue bandwidth limit' command.
For e.g:
Switch(config)# interface gigabitethernet 1/0/2
Switch(config-if)# srr-queue bandwidth limit 70
Another Way is :
policy-map rate-limit
class class-default
police 1000000 8000 exceed-action drop
int gi1/0/3
service-policy input rate-limit
service-policy output rate-limit
That should limit inbound and outbound at 1Mb
Another example is :
mls qos
!
class-map match-any Policy
match ip dscp 0 8 16 24 32 40 48 56
policy-map limit30M
class Policy
police 30000000 512000 exceed-action drop
!
end
int gi 1/0/1
speed 100
duplex full
service-policy input limit30M
srr-que bandwidth limit 30 (expressed as % of 100/full or 30% of 100MB, which is 30MB)
i did not try this but this might wrk i guess,, please try in a lab if u have
i think you can kinda play with these commands
Try and look through the command reference for 3750 for many ways
These are my understandings
Thnx
05-12-2011 01:35 PM
I appreciate the time/effort you made to share this. Thanks.
05-12-2011 01:37 PM
np ur welcum
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide