11-28-2011 10:12 AM - edited 03-07-2019 03:38 AM
I am configuring a 3560 to provide internet access for our customers and I need to make sure they don't use more bandwidth than they have contracted for.
I see that the 3560 supports the rate-limit command, but was told that I should use traffic shaping and policing along with access lists to manage the bandwidth.
Is there a reason that I should avoid using the rate-limit command - it looks much simpler.
Thanks,
Julie
11-28-2011 10:36 AM
3560 switch?
While the command is available in the CLI, it is not supported on this platform:
Traffic shaping nor egress policing are supported either.
For bandwidth limiting on a 3560, you need to use the srr-queue bandwidth limit command:
11-29-2011 04:02 PM
What switches do support either the rate-limit command or traffic shaping and policing? Maybe we purchased the wrong switches . . .
Thanks for the information - I had assumed that since the command was available, that it was supported - you'd think I would know better than to make any assumptions!
11-29-2011 04:41 PM
Julie
I have been through this a couple of times now.
I have tried all the forbidden options but at least Edison has pointed these out (+5)
On the interface add the egress limiters
!
int fas 0/1
srr-queue bandwidth limit 55
!
This will limit a 100M interface to 55% = 55M
The % can be between 10 -- 90
HTH
Alex
11-29-2011 11:37 PM
I was told by our vendor that if I upgrade to the ip base ios, that we will be able to manage the bandwidth on a per port basis - is this true?
Thanks for all the info!
Julie
11-30-2011 07:10 AM
You could police inbound with your current switches. In general, we recommend policing inbound and shape outbound.
For egress shaping on switches, you need high-end switches such as: 4500 with Sup6-E/7 or 6500 with SIP/SPA WAN module or Sup2T.
11-30-2011 09:53 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
Likely the reason traffic shaping was mentioned because it's generally "nicer" in how it regulates bandwidth than a policer or rate-limiter, since it attempt to queue excess traffic rather than just dropping it.
The 3560 does supports "shaping" per egress queue. See the SRR shape feature in:
However this might not be suitable for you if you have more than customers than the 4 egress queues. (Ditto issue if you "shape" physical egress port, as mentioned by another poster.)
Otherwise, on your platform, you're limited to policing inbound traffic as described by Edison.
If you do utilize the policing method, you'll likly need to tune parameters as defaults often tend to impact TCP traffic enough that actual usage is much less than agreed upon bandwidth.
12-01-2011 09:54 AM
Joseph,
Are there 4 egress queues per access port? Each access port will be dedicated to a single customer - only the trunk ports will transport traffic from multiple customers.
Is egress traffic shaping and inbound policing supported in the LAN Base IOS or do I need one of the IOS versions that support IP?
Thanks for the information!
12-01-2011 12:22 PM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
Yes, there are 4 egress queues per port, but you need to enable QoS to activate them. Otherwise, there's just one egress queue per port.
For overall customer "shaping", if there's one customer per port, you might also use the port bandwidth limiter, although it's not as precise ("These values are not exact because the hardware adjusts the line rate in increments of six.").
I think the QoS features are supported on all IOS images for the original 3560, but don't quote me.
12-01-2011 01:50 PM
When you are talking about the bandwidth limiter, do you mean the rate-limit interface command? If so it is not supported on the 3560 switches - it shows up in the CLI, but the release notes say it is not supported.
12-01-2011 05:33 PM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
I had in mind the "srr-queue bandwidth limit weight1" command.
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