cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
334
Views
5
Helpful
4
Replies

QoS problem

John Blakley
VIP Alumni
VIP Alumni

I created a class map last night on an 871W router (at my house). It's matching packets but it doesn't seem like it's doing anything.

Example:

class-map match-any BITTORRENT

match protocol bittorrent

policy-map PROTOCOLS

class BITTORRENT

bandwidth 200

int fa4

service-policy outbound PROTOCOLS

If there's errors in the above, I just typed this out; it's not copy/pasted from the router.

I get matches on the protocol, but I started to download a linux distro, and the bandwidth got up to 623.5k. Any ideas?

Thanks!

John

HTH, John *** Please rate all useful posts ***
4 Replies 4

Jon Marshall
Hall of Fame
Hall of Fame

John

Does downloading a linux distro match on bittorrent then ?

Regardless your bandwidth statement does not specify a maximum amount of bandwidth that can be used rather it specifies a minimum amount of bandwidth. If there is available bandwidth not being used then even though you have specified 200 it can still use any available extra bandwidth.

If you want to restrict it to a maximum of 200 then you need to police the traffic or shape it.

Jon

It did match packets on the policy-map. I'm just learning QoS. What's the difference between policing and shaping? I didn't realize the bandwidth command was a minimum amount. :-)

--John

HTH, John *** Please rate all useful posts ***

Assuming that the default action is to drop packets when you police then the difference is

1) Policing drops any excess over 200

2) Shaping buffers any excess over 200 and sends it when there is space. Shaping smooths out bursty traffic.

Shaping places more demand on the router because you are buffering the packets.

Note that you don't have to drop the packets when policing you can remark them to a different value instead and then transmit.

QOS is quite a big subject so that is really a very high-level explanation.

Edit - one thing forgot to mention. If you specify a bandwidth within a Priority queue that bandwidth is automatically policed so as to make to sure other queues do not get starved of router resources.

Jon

Thanks Jon! I know QoS is a world all of its own.

HTH, John *** Please rate all useful posts ***
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: