01-08-2019 04:14 AM - edited 03-05-2019 11:09 AM
Hi, I have the CISCO 1900 series router. I am running 10 meg but my network is really slow because of media streaming by users (200 plus). Is there a way to restrict or even block some websites like youtube so as to limit media streaming using my router so as to save bandwidth?
01-08-2019 07:40 AM
01-08-2019 07:49 AM - edited 01-08-2019 07:57 AM
Hello
@Codess wrote:
Hi, I have the CISCO 1900 series router. I am running 10 meg but my network is really slow because of media streaming by users (200 plus). Is there a way to restrict or even block some websites like youtube so as to limit media streaming using my router so as to save bandwidth?
You can apply a simple MOC policy to negate or restrict certain web sites and at the same time shape you wan Committed Information Rate
If you need to amend anything you just need to create additional class-maps and add those to the child policy-map (in this example will be URL_pm) and set an action you wish to take
Example:
class-map match-any URL_cm
match protocol http url "www.youtube.com"
policy-map URL_pm
class URL_cm
drop
class class-default
fair queue
policy-map WAN
class class-default
shape average 20480000
service-policy URL_pm
interface x/x
Description WAN interface
service-policy output WAN
01-08-2019 08:00 AM
The best way to do this is by using( NBAR) , Network Based Application Recognition to filter by traffic types.
Here is a sample of the template that you can use.
Create class map:
class-map match-any BLOCK_GUEST_CM
match protocol youtube
match protocol netflix
match protocol hulu
match protocol tor
Apply class map to a policy map:
policy-map BLOCK_GUEST_PM
class BLOCK_GUEST_CM
drop
Apply policy map to an interface:
interface XX
service-policy input BLOCK_GUEST_PM
****PLEASE REMEMBER TO RATE EACH POST****
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