Bandwidth Policing

Answered Question
Sep 24th, 2008
User Badges:

hi, I have configured QOS on my router, the following is the configuration.


class-map match-any HTTP_TRAFFIC

match protocol http


class-map match-any ftp-traffic

match protocol ftp


class-map match-any nbar-discovery

match protocol fasttrack

match protocol bittorrent

match protocol edonkey

match protocol gnutella

match protocol winmx

match protocol napster


class-map match-any STREAMING

match protocol h323

!

!

policy-map blocking_P2P

class nbar-discovery

police cir percent 1

conform-action transmit

exceed-action drop

class STREAMING

drop

class HTTP_TRAFFIC

police cir percent 50

class ftp-traffic

police cir percent 25


and then apply policy-map to the interface. My Question is that What bandwidth the class "class-map match-any nbar-discovery" will get. i have configured interface with bandwidth 4096. will all my protocol in class "class-map match-any nbar-discovery" share the 40500bps bandwidth or each protocol will get 40500 bps bandwidth.

Thanks

Correct Answer by Marwan ALshawi about 8 years 7 months ago

hi Waseem

let me give u simple desicription regarding ur question


with qos and bandwdith managment

we have police, bandwidth and priority


with bandwidth and priority u will assigne ( reserive ) amount of bandwidth to that class in case of the link is conjested regardless this amount is percent or in K


but prioity class will be seriviced first as we know it as LLQ


now for policing u are giveing the maximum of allwed bandwidth if it go above the policer will start droping it this is the normal policer know as singl buckt policer if u wanna go to advanced policing there is a dual bucket policer which might go above the limit based on Bc and Be anyway this is out of ur question


so with bandwith and priority if the link is not conjisted and there is available bandwidth then these calss will use more and as mentioned the amount is considered in case f conjestion


while the policer is limited to the maximum from the biging so regard less the link is conjested or not the max will be based on ur plicer amount of bnadwidth

in ur case any think not with in the policer will use any amount of available nadwith in case of high traffic each class hace policing will use max bandith based on its policer and the rest will be for the defualt


good luck


if helpful Rate

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
dominic.caron Wed, 09/24/2008 - 04:55
User Badges:
  • Silver, 250 points or more

All protocol in the class nbar-discovery will share 1% of the bandwidth. (40500)

Joseph W. Doherty Wed, 09/24/2008 - 14:51
User Badges:
  • Super Bronze, 10000 points or more

Class nbar-discovery won't average more than 1% (or 41 Kbps) because of your "police cir percent 1". It might not even obtain that because of (implicit) class-default.

itdsmartnet Wed, 09/24/2008 - 21:18
User Badges:

Thanks.

one more thing i want to ask is , bittorent will get 1 % , HTTP will get 50 % and FTP will get 25 %. what about the other protocols , what bandwidth will they get.



Joseph W. Doherty Wed, 09/24/2008 - 23:51
User Badges:
  • Super Bronze, 10000 points or more

As an input policy, since you didn't specify anything for other traffic, other traffic could have up to 100% - actively used % other defined classes. Which would be between 100% and 24%.


As an output policy, you still need to consider the policers, but assuming max-reserved-bandwidth hasn't overriden the minimum, minimum guaranteed should be about 25% but if other classes aren't using their maximums, up to 100%.

Correct Answer
Marwan ALshawi Thu, 09/25/2008 - 03:09
User Badges:
  • Purple, 4500 points or more
  • Community Spotlight Award,

    Best Publication, December 2015

hi Waseem

let me give u simple desicription regarding ur question


with qos and bandwdith managment

we have police, bandwidth and priority


with bandwidth and priority u will assigne ( reserive ) amount of bandwidth to that class in case of the link is conjested regardless this amount is percent or in K


but prioity class will be seriviced first as we know it as LLQ


now for policing u are giveing the maximum of allwed bandwidth if it go above the policer will start droping it this is the normal policer know as singl buckt policer if u wanna go to advanced policing there is a dual bucket policer which might go above the limit based on Bc and Be anyway this is out of ur question


so with bandwith and priority if the link is not conjisted and there is available bandwidth then these calss will use more and as mentioned the amount is considered in case f conjestion


while the policer is limited to the maximum from the biging so regard less the link is conjested or not the max will be based on ur plicer amount of bnadwidth

in ur case any think not with in the policer will use any amount of available nadwith in case of high traffic each class hace policing will use max bandith based on its policer and the rest will be for the defualt


good luck


if helpful Rate

Actions

This Discussion