Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Limit bandwidth on a Cisco Catalyst 3560 switch port

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

Re: Limit bandwidth on a Cisco Catalyst 3560 switch port

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

New Member

Re: Limit bandwidth on a Cisco Catalyst 3560 switch port

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

???

Re: Limit bandwidth on a Cisco Catalyst 3560 switch port

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

New Member

Re: Limit bandwidth on a Cisco Catalyst 3560 switch port

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

2298
Views
0
Helpful
4
Replies