cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
479
Views
5
Helpful
1
Replies

Large gif files...

mtrcek
Level 1
Level 1

How to protect against large gif downloads on router?

M

1 Accepted Solution

Accepted Solutions

pkhatri
Level 11
Level 11

Hi,

You can used NBAR (Network-Based Application Recognition) to match on gif files being downloaded via HTTP. Once you do that, you can restrict the amount of bandwidth used for such downloads...

An example follows:

class-map gifs

match protocol http url "*.gif"

!

policy-map PolIn

class gifs

police 64000

class class-default

fair-queue

!

interface Serial0

service-policy input PolIn

The above config will limit all HTTP transfers of gif files to 128k. It will match good as well as bad traffic so you will need to tune this.

Hope that helps - pls rate the post if it does.

Paresh

View solution in original post

1 Reply 1

pkhatri
Level 11
Level 11

Hi,

You can used NBAR (Network-Based Application Recognition) to match on gif files being downloaded via HTTP. Once you do that, you can restrict the amount of bandwidth used for such downloads...

An example follows:

class-map gifs

match protocol http url "*.gif"

!

policy-map PolIn

class gifs

police 64000

class class-default

fair-queue

!

interface Serial0

service-policy input PolIn

The above config will limit all HTTP transfers of gif files to 128k. It will match good as well as bad traffic so you will need to tune this.

Hope that helps - pls rate the post if it does.

Paresh

Getting Started

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: