cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4002
Views
0
Helpful
4
Replies

Limit bandwidth on a Cisco Catalyst 3560 switch port

wolfgangz
Level 1
Level 1

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 !!

4 Replies 4

royalblues
Level 10
Level 10

As per the Cisco DOc you should be using srr-queue bandwidth limit 10 to limit the traffic to 10Mbps

http://www.cisco.com/en/US/docs/switches/lan/catalyst3560/software/release/12.2_40_se/configuration/guide/swqos.html#wp1253412

To configure the same for inbound traffic you need policing

HTH

Narayan

wolfgangz
Level 1
Level 1

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

???

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
Level 1
Level 1

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

Review Cisco Networking for a $25 gift card