06-30-2014 04:27 PM - edited 03-04-2019 11:15 PM
Hi all,
I would like to know how can I limit the bandwidth to specific web pages, (Facebook, YouTube). With my Cisco router 2800.
Thanks.
06-30-2014 10:04 PM
If you use nbar then you will achieve what you want. You must then match the traffic you want with policy map and limit the available bandwidth.
07-01-2014 01:18 AM
using nbar and class map http you will limit all web traffic not specific web pages.
07-01-2014 02:43 AM
I think you are wrong:
http://networklessons.com/quality-of-service/block-website-with-nbar-on-cisco-router/
http://blog.zakir.net/index.php?/archives/5-Blocking-sites-using-NBAR.html
http://www.cisco.com/c/en/us/products/collateral/ios-nx-os-software/network-based-application-recognition-nbar/qa_c67-646888.html
07-01-2014 03:04 AM
yes, you are correct
using
R1(config)#class-map match-any BLOCKED
R1(config-cmap)#match protocol http host "*youtube.com*"
R1(config)#policy-map DROP
R1(config-pmap)#class BLOCKED
R1(config-pmap-c)#drop
R1(config-pmap-c)#exit
will block web pages youtube.com
07-01-2014 02:22 AM
Can someone post an example?
thanks
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