Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Large gif files...

How to protect against large gif downloads on router?

M

1 ACCEPTED SOLUTION

Accepted Solutions
Purple

Re: Large gif files...

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

1 REPLY
Purple

Re: Large gif files...

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

279
Views
5
Helpful
1
Replies