07-07-2011 12:55 PM - edited 03-07-2019 01:08 AM
HI,
I've a layer -3 link between two switches and I've limit b/w to 5 M (or any required b/w) for traffic coming to this link from one perticular host (host1).
(Sw1)<---layer-3 link------>(Sw2)<-----------------------------------host1
how do I do it? can I have an example pls
Thanks.
07-07-2011 03:25 PM
Search for "Cisco QoS SRND" on your search engine of choice.
Sent from Cisco Technical Support iPad App
07-08-2011 08:48 AM
can you be more specific pls. that didn't help
07-08-2011 09:48 AM
Hi,
How about putting them at 10mb instead of 100. I assumed they are running 100.
Sent from Cisco Technical Support iPhone App
07-08-2011 01:15 PM
Hi, I will have to put them on 5 M or 2 M link
07-08-2011 02:29 PM
You must use policing based on source/dest on sw2.
Brief example:
class-map match-any host1-to-dest
match access-list 101
!
!
policy-map Outbound
class host1-to-dest
police 2000000 exceed-action drop
class class-default
or change the numbers for 5Mb:
police 5000000 exceed-action drop
access-list 101 permit ip host host1 subnet_on_sw1 0.0.0.255 (assuming a /24 on sw1)
Do not forget to apply the policy map on the outbound interface. (service-policy out Outbound)
Verify with " sh policy-map int ...
regards,
Leo
07-11-2011 05:14 PM
Thanks for your reply...
quick question: "exceed-action drop" does it drops the packet or it's just that it doesn't let the b/w go beyond 2M or 5M but we don't loose any data?
Thanks...
07-11-2011 07:01 PM
that statement drops the packet since the action is "drop"
07-13-2011 10:59 AM
Thanks. I don't wanna drop packets. I just want to limit the b/w. could you advise if there is any other way to limit it?
07-13-2011 11:51 AM
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
gavin han wrote:
Thanks. I don't wanna drop packets. I just want to limit the b/w. could you advise if there is any other way to limit it?
Shape rather than police.
07-13-2011 03:25 PM
you could configure it something like this:
enable
conf t
access-list 101 permit ip host 192.168.1.10 any
class-map match-all HOST
match access-group 101
policy-map LIMIT
class HOST
shape average 5000000
class class-default
fair-que
int fa0/1
service-policy out HOST
07-13-2011 03:25 PM
oops that was meant to be
int fa0/1
service-policy out LIMIT
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: