04-23-2013 01:06 PM - edited 03-04-2019 07:42 PM
Dear experts,
I know that my question can be very simple, but I need ask before make any mistake.
I need limiteda HTTP trafic from a WAN link (10mbps) to no more than 5mbps to a specific network.
I made this script and i would like to know if is correct.
ip access-list ext Traffic_QoS
permit ip 105.113.54.0 0.0.0.255 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 105.113.52.1 255.255.255.0 secondary
ip address 105.113.53.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
h323-gateway voip interface
h323-gateway voip id XGK1 ipaddr 10.254.10.15 1719
h323-gateway voip h323-id D300807987_001
h323-gateway voip bind srcaddr 105.113.53.1
Thanks
Marcio
Solved! Go to Solution.
04-23-2013 01:23 PM
Hello Marcio,
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
Hope this helps
Please rate useful posts and remember to mark any solved questions as answered. Thank you.
04-23-2013 01:23 PM
Hello Marcio,
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
Hope this helps
Please rate useful posts and remember to mark any solved questions as answered. Thank you.
04-23-2013 01:29 PM
Hello Bilial,
I forgot to change, my first intention was apply this policy at g0/0 that is internet link and the speed is 10mbps.
In your configuration the shape is 10000, but if the correct is not 5000?
thanks
04-23-2013 01:36 PM
Oh! I understand now! So you have 10mbps link on a gig interface, but you want to half it.
Yes you will use 5000 to limit http traffic at 5mbps, you are correct.
Hope this helps.
Please rate useful posts and remember to mark any solved questions as answered. Thank you.
04-23-2013 01:42 PM
Over G0/0 I have the internet link (10mbps) and G0/1 is the Lan interface (1gb).
Now I have a doubt, what is the best practice, apply on G0/0 as output or G0/1 as Input?
04-23-2013 02:00 PM
Hello, I would apply this, closest to the source as possible, so, inbound on your LAN interface.
Hope this helps
Sent from Cisco Technical Support iPhone App
04-25-2013 07:27 AM
Dear Bilal,
I made this configuration in my client and worked very well.
Thank you very much for all support.
04-25-2013 07:43 AM
You're welcome, Im glad this worked for you!
Please rate useful posts and remember to mark any solved questions as answered. Thank you.
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