- A virtual community of network engineers
 Home  BookStore  StudyNotes  Links  Archives  StudyRooms  HelpWanted  Discounts  Login
RE: 3560 rate limiting posted 11/26/2007
[Chronological Index] [Thread Index] [Top] [Date Prev][Date Next] [Thread Prev][Thread Next]

Thanks Antonio for your suggestion.

It seems that I forgot to enable mls qos globally. I tried again today and
it works fine. 

-----Original Message-----
From: nobody@xxxxxxxxxxxxxx [mailto:nobody@xxxxxxxxxxxxxx] On Behalf Of
Antonio Soares
Sent: Tuesday, 27 November 2007 10:25 AM
To: 'Huan Pham'; ccielab@xxxxxxxxxxxxxx
Subject: RE: 3560 rate limiting

Try to increase the burst-byte option gradually until you get what you want.
And read this to help you understand how it works:


Antonio Soares

-----Original Message-----
From: nobody@xxxxxxxxxxxxxx [mailto:nobody@xxxxxxxxxxxxxx] On Behalf Of Huan
Sent: domingo, 25 de Novembro de 2007 22:44
To: ccielab@xxxxxxxxxxxxxx
Subject: 3560 rate limiting

Hi Group,


I would like to rate limit traffic in and out of an interface on C3560. 


The rate-limiting on incoming traffic is working fine using interface


interface fa0/2

 srr-queue bandwidth limit 20


(BTW, service-policy can not be applied to outgoing direction of an


However, rate limiting on outgoing traffic using policy map does not seem to
work. Under policy-map configuration, I tried both class-default, as well as
the one I manually created (Class ALL), but none seems to work. When I do
extended ping from R2 to R4, I still see traffic reaching about 4Mbps
although the C3560 meant to shape traffic at 2M. 


Would you pls see if there's any error in my config, or any better ideas
doing rate-limiting on C3560.







R2 ----- SW2 ----- R4





SW2#sh ver | in Ver

Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version
12.2(40)SE, RELEASE SOFTWARE (fc3)

BOOTLDR: C3560 Boot Loader (C3560-HBOOT-M) Version 12.2(35r)SE2, RELEASE

Version ID                      : V01

Switch   Ports  Model              SW Version              SW Image    



ip access-list extended all

 permit ip any any


class-map match-all ALL

  match access-group name all


policy-map POLICE_2M

  class ALL

    police 2048000 25600 exceed-action drop



interface FastEthernet0/2

 desc Connect to R2 FE0/0

 service-policy input POLICE_2M


interface FastEthernet0/4

 desc Connect to R4 FE0/0



interface FastEthernet0/0

 desc Connect to SW2 FE0/2

 ip address


ping ip size 1500 timeout 0 rep 10000



interface FastEthernet0/0

 desc Connect to SW2 FE0/4

 ip address


R4#sh int fa0/0 | in rate 

  30 second input rate 3469000 bits/sec, 286 packets/sec

  30 second output rate 3469000 bits/sec, 286 packets/sec






Huan Pham

Subscription information may be found at:

Subscription information may be found at: