01-26-2010 07:11 AM - edited 03-04-2019 07:18 AM
Hi Everyone.
is it possible to do an equivalent to a rate-limit (CAR) on a C4507r? What im looking to do is be able to have various rate-limits on a various vlan for both upload and download. I've used the rate-limit (CAR) on a router but on the C4507r it looks like (CAR) is not allowed.
Thank You
01-26-2010 07:48 AM
I assume you mean applying rate limiting capabilities on layer 3 SVI's?
You can use the rate-limit command in interface config mode as well as the modular qos cli (MQC);
class-map
.......
policy-map vlanX
....
....
interface vlanX
service-policy .....
mike
01-26-2010 12:24 PM
Hi Mike.
Thanks for the reply. If I enter a interface vlanxxx I cannot add the rate-limit command:
spare_equipment(config)#int vlan800
spare_equipment(config-if)#r?
% Unrecognized command
I did read the "Applying QoS Features Using the MQC" If I understand it correctly, if I have 2 policies
"test one" will have a download of 6m and upload of 4m
"test two" will have a download of 2m and upload of 1m
I would do the following:
! ********************* test one
class-map match-all test
description test rate-limit
match any
!
!
policy-map vlan800in
class test
police 6000000 bps 8000 byte conform-action transmit exceed-action drop
policy-map vlan800out
class test
police 4000000 bps 8000 byte conform-action transmit exceed-action drop
! ******************** test 2
class-map match-all test2
description test2 rate-limit
match any
!
!
policy-map vlan900in
class test2
police 2000000 bps 8000 byte conform-action transmit exceed-action drop
policy-map vlan900out
class test2
police 1000000 bps 8000 byte conform-action transmit exceed-action drop
! ************** applied
interface Vlan800
ip address 10.94.0.2 255.255.255.0
service-policy input vlan800in
service-policy output vlan800out
interface Vlan900
ip address 10.95.0.2 255.255.255.0
service-policy input vlan900in
service-policy output vlan900out
is this correct?
01-26-2010 01:03 PM
Hi Hector,
If you are planning to apply the service-policy under the SVI, you must configure the physical interfaces with the qos vlan-based command.
Additionally, you can avoid configuring the class-map and instead use the policy-map with the class class-default.
Another note, the accuracy of the policer configured is +/- 1.5 % so you will experience traffic over the policed limit.
For more information, I highly suggest you read the documentation on implementing QoS on 4500 for any other caveats you may face
depending upon the hardware that is used.
Regards
Edison.
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