09-24-2008 03:53 AM - edited 03-03-2019 11:40 PM
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
Solved! Go to Solution.
09-25-2008 03:09 AM
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
09-24-2008 04:55 AM
All protocol in the class nbar-discovery will share 1% of the bandwidth. (40500)
09-24-2008 02:51 PM
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.
09-24-2008 09:18 PM
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.
09-24-2008 11:51 PM
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%.
09-25-2008 12:41 AM
please elaborate your answer if possible.
09-25-2008 03:09 AM
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
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: