Search this Blog

Thursday, April 25, 2013

How do you setup Wan limit with QoS

We need to limit the HTTP trafic from a WAN link (10mbps) to no more than 5mbps to a specific network.

We made this script and i would like to know if is correct.

ip access-list ext Traffic_QoS
permit ip any eq http
class-map match-any QoS_HTTP
match access-group Traffic_QoS
policy-map Filter_HTTP
class QoS_HTTP
bandwidth percent 50
interface GigabitEthernet0/1
service-policy in Filter_HTTP

The interface G0/1 have this configuration:

interface GigabitEthernet0/1
description [ SELA Costa Rica L2  ]
ip address secondary
ip address
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
h323-gateway voip interface
h323-gateway voip id XGK1 ipaddr 1719
h323-gateway voip h323-id D300807987_001
h323-gateway voip bind srcaddr

Over G0/0 we have the internet link (10mbps) and G0/1 is the Lan interface (1gb)
The bandwidth of your gig interface is 1000mb. 50% of this will be 500mb. So your policy will not work how you want it to work at 10mb instead of bandwidth percent 50 you may need to shape.

policy-map Filter_HTTP
class QoS_HTTP
shape average 10000

This will only shape your http outbound traffic. you want to half it. You will use 5000 to limit http traffic at 5mbps.

Citation - This blog post does not reflect original content from the author. Rather it summarizes content that are relevant to the topic from different sources in the web. The sources might include any online discussion boards, forums, websites and others.

No comments :

Post a Comment

/* Google Analytics begin ----------------------------------------------- */ /* Google Analytics end ----------------------------------------------- */