cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
23245
Views
0
Helpful
3
Replies

Rate Limit and Traffic Shaping

abbas.ali
Level 1
Level 1

I am looking for step-by-step configuration on how to enable rate-limit and traffic shaping on Cisco 6513 vlan interfaces.  I am not able to find this particular document on CCO.

2 Accepted Solutions

Accepted Solutions

Latchum Naidu
VIP Alumni
VIP Alumni

Hi Abbas,

As long as you have a seperate Vlan's then it would be possible to allocate bandwidth under the vlan's

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


STEP-1:

Apply rate-limit on each L3 vlan interface in your 2851
Example (for 1024kbits for vlan 2):

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.

View solution in original post

3 Replies 3

Latchum Naidu
VIP Alumni
VIP Alumni

Hi Abbas,

As long as you have a seperate Vlan's then it would be possible to allocate bandwidth under the vlan's

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


STEP-1:

Apply rate-limit on each L3 vlan interface in your 2851
Example (for 1024kbits for vlan 2):

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.

Thanks Naidu!  Two questions,  The sample config you sent is related to 2851 Router.  Will it work with Internal LAN traffic by enabling on Cisco 6513 Switches. 

The rate-limit and policing will simply drop the packet if it exceeds the configured bandwidth.  Wouldn't traffic shaping be a better option where traffic will be buffered and prirotized instead of drop.  If traffic shaping will be a better option then can you post the sample config for traffic shaping on Cisco 6513 swtiches

Regards,

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: