Limit bandwidth on a Cisco Catalyst 3560 switch port

Unanswered Question
Feb 18th, 2008
User Badges:

Hello,


I like to limit the bandwith on a Catalyst Switch with the command:

e.q. to 10MBit/S

interface FastEthernet 0/1

Switch(config-if)#

srr-queue bandwidth limit 90


but the command doesn't work :-(

IOS:Switch Ports Model SW Version SW Image

------ ----- ----- ---------- ----------

* 1 26 WS-C3560-24TS 12.2(25)SEB4 C3560-IPBASE-M

'

but it doesn't work ! Have someone configured this successful ?? Thanks in advance !!



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
wolfgangz Tue, 02/19/2008 - 03:48
User Badges:

Hello, thanks for your reply ! sorry, it was a typing error :-) limit 10 !! but it doesn't work ! das the command only match to the outgoing traffic ??

for incoming i need policing like:

policy-map BW_CTRL_9

class limit

police 10000000 1000000 exceed-action drop


interface FastEthernet0/3


service-policy input BW_CTRL_9


???




royalblues Tue, 02/19/2008 - 03:57
User Badges:
  • Green, 3000 points or more

Yes you are right


Because of ASIC limitation on the 3750 and the 3560, you cannot apply a egress policy map (service-policy output command is not supported)


So to overcome this we use the above command srr-queue bandwidth limit 10 which limits the outgoing traffic


IF your intention is to limit the traffic in the both the directions, you need to use both of them in tandem


HTH

Narayan

wolfgangz Tue, 02/19/2008 - 11:38
User Badges:

Hi, it looks good :-)to calculate the burst, i have found the formula:


Burst = (Rate [bps]) * 0.00025 [sec/interval]) or (maximum packet size [bits])


is it OK ? because my tests looks like, that i configure burst = 10 % of bandwidth ??


cu wz

Actions

This Discussion