02-18-2008 11:43 PM - edited 03-05-2019 09:13 PM
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 !!
02-19-2008 12:06 AM
As per the Cisco DOc you should be using srr-queue bandwidth limit 10 to limit the traffic to 10Mbps
To configure the same for inbound traffic you need policing
HTH
Narayan
02-19-2008 03:48 AM
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
???
02-19-2008 03:57 AM
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
02-19-2008 11:38 AM
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
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