cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4834
Views
0
Helpful
2
Replies

Rate limiting/Traffic shaping C3750

eezergeezer
Level 1
Level 1

Hey all,

Need some help on the best way to configure rate limiting and/or traffic shaping for a single interface.

Have a C3750-12S with an interface connected to a 10Mb circuit (leased line)  10Mb is shared over a 2 business units who respectively want 5Mb and 5Mb.

This is a L3 handoff with no trunk/vlan frames going over the circuit.

I want to be able to rate limit on policy I think by class map.

eg:

2 x destination networks (targets)

     192.168.0.0/28          Business  unit 1

     192.168.0.17/28        Business unit 2

transit is a /29

eg

10.1.156.0/29

I think I need to create a class map which will allow me to specify criteria for L3 -L4. Is this correct?

Does mls qos need to be enabled globally? ( i believe so) 

The switch is a production switch how will enabling mls impact the switch?

Would appreciate some example configs if possible.

thanks in advance..

A

2 Replies 2

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The  Author of this posting offers the information contained within this  posting without consideration and with the reader's understanding that  there's no implied or expressed suitability or fitness for any purpose.  Information provided is for informational purposes only and should not  be construed as rendering professional advice of any kind. Usage of this  posting's information is solely at reader's own risk.

Liability Disclaimer

In  no event shall Author be liable for any damages whatsoever (including,  without limitation, damages for loss of use, data or profit) arising out  of the use or inability to use the posting's information even if Author  has been advised of the possibility of such damage.

Posting

You might try SRR sharing.  Direct you two subnets into two different egress queues and allocate each 50% of the bandwidth.

PS:

You could also SRR shaping, but I recommend sharing at it would allow each network to utilize bandwidth unused by the other network.

Hi Amar,

If you are looking to rate limint on some L3 interfaces then you can use class map or rate limit commands directly under the L3 interface.

If you have a seperate Vlan's for example Network-A and Network-B then it would be possible to allocate bandwidth under the vlan's

See the below two individual steps may help in your scenario.


STEP-1:

Apply rate-limit on each L3 vlan interface in your 2851

Router# conf t
Router(config)# int vlan 2
Router(config-if)#rate-limit input 1000000 187500 375000 conform-action transmit exceed-action drop
Router(config-if)#rate-limit output 1000000 187500 375000 conform-action transmit exceed-action drop


STEP-2:

Policy a specific VLAN number on VLAN interface.

class-map vlan5
match vlan 5
match class-map class-default

policy-map vlan5-limit
class vlan5
police 2000000 250000 exceed-action drop

int vlan5
service-policy input vlan5-limit


After you apply this configuration, the traffic with VLAN 5 coming from any will be policed at 2Mbps.

Hope this will help you.


Please rate the helpfull posts.
Regards,
Naidu.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card