QoS Policy Question & Recommendations

QoS Policy Question & Recommendations

NewsGroups | Search | Tools
 comp.dcom.sys.cisco  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
QoS Policy Question & Recommendations Michael Love 11-12-2004
Posted by Michael Love on November 12, 2004, 6:22 am
If you were  Registered and logged in, you could reply and use other advanced thread options
I'm trying to set up a couple of classes of traffic on our edge router, and
I want them set up in such a way that as long as nothing else on our network
needs it, Class "low-priority" gets a portion of our available bandwidth,
but that class is the first to give up its bandwidth if any other client
needs it.

I currently have something like this:
---------------------
Class-Map match-any low-priority
Match protocol blah1
Match protocol blah2
Match access-group name blah3

Policy Map incoming-test
Class low-priority
set precedence 0
police cir 256000 bc 8000 be 8000
conform-action transmit
exceed-action drop
violate-action drop
Class class-default
set precedence 2
---------------------

This, of course, doesn't do what I want, but it is keeping the traffic in
"low-priority" from eating up the rest of the network when we are needing
the bandwidth for other things.

Let's say our maximum incoming bandwidth is something like 1,000,000bps.
Would it work the way I want if I set class-default like this?
---------------------
Class class-default
police cir 1000000 bc 31250
conform-action transmit
exceed-action drop
---------------------

None of the tweaks I make seem to work the way I want and only impede the
traffic I want to give the priority. Is this something I need to use
random-detect for? I downloaded a number of Cisco docs on QoS like
"Configuring a QoS Service Policy", but there aren't enough examples for me
to get a good idea of how to approach this. Most of them seem, to me, to be
more along the lines of "policy 1 gets 20%, policy 2 get 30%, and policy 3
gets all the rest". I want something like, "policy 1 gets 25%, as long as
nothing else on the network needs it"

Also, could anyone point me to a good book or online tutorial on QoS policy
design?




NMFall 20%
Posted by Johnny Routin on November 12, 2004, 11:06 am
If you were  Registered and logged in, you could reply and use other advanced thread options

Wouldn't priority queuing meet your needs?


--
JR
--
Johnny Routin
©¿©
-

> I'm trying to set up a couple of classes of traffic on our edge router,
and
> I want them set up in such a way that as long as nothing else on our
network
> needs it, Class "low-priority" gets a portion of our available bandwidth,
> but that class is the first to give up its bandwidth if any other client
> needs it.
>
> I currently have something like this:
> ---------------------
> Class-Map match-any low-priority
> Match protocol blah1
> Match protocol blah2
> Match access-group name blah3
>
> Policy Map incoming-test
> Class low-priority
> set precedence 0
> police cir 256000 bc 8000 be 8000
> conform-action transmit
> exceed-action drop
> violate-action drop
> Class class-default
> set precedence 2
> ---------------------
>
> This, of course, doesn't do what I want, but it is keeping the traffic in
> "low-priority" from eating up the rest of the network when we are needing
> the bandwidth for other things.
>
> Let's say our maximum incoming bandwidth is something like 1,000,000bps.
> Would it work the way I want if I set class-default like this?
> ---------------------
> Class class-default
> police cir 1000000 bc 31250
> conform-action transmit
> exceed-action drop
> ---------------------
>
> None of the tweaks I make seem to work the way I want and only impede the
> traffic I want to give the priority. Is this something I need to use
> random-detect for? I downloaded a number of Cisco docs on QoS like
> "Configuring a QoS Service Policy", but there aren't enough examples for
me
> to get a good idea of how to approach this. Most of them seem, to me, to
be
> more along the lines of "policy 1 gets 20%, policy 2 get 30%, and policy 3
> gets all the rest". I want something like, "policy 1 gets 25%, as long as
> nothing else on the network needs it"
>
> Also, could anyone point me to a good book or online tutorial on QoS
policy
> design?
>
>




Posted by Michael Love on November 12, 2004, 2:48 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
> Wouldn't priority queuing meet your needs?

I'm sure it does, but I'm not sure how to set it up properly. I want all
traffic except for what I'm classifying in one particular class to have
priority, and you can't put a priority command into the class-default class.





Posted by Ivan Ostreš on November 13, 2004, 9:51 am
If you were  Registered and logged in, you could reply and use other advanced thread options
> > Wouldn't priority queuing meet your needs?
>
> I'm sure it does, but I'm not sure how to set it up properly. I want all
> traffic except for what I'm classifying in one particular class to have
> priority, and you can't put a priority command into the class-default class.
>
>

No, you can't put priority command in class-default. When you think
better it would be kind of strange to put it there in the first place.

You still can set up priority queing, but not using MCQ format. Why not
just use the old priority queuing? It's really simple. Look at CCO for
"priority queing".

And you must be aware that it will work only for OUTGOING traffic, not
incoming because when incoming traffic comes to your router, it already
consumed your uplink.

--
-Ivan.

*** Use Rot13 to see my eMail address ***


Posted by Ignaz Krähenmann on November 14, 2004, 12:06 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Just give each class the share it needs. If you assign a class a certain
bandwidth, it sure gets it when needed. If the bandwidth is not
required, it is distributed among the other classes.
If you have two classes and one should be treated very badly, just
assign it 1% or so and give the rest to the other class. The low
priority class can only get 1% as soon as the normal traffic needs the
bandwidth. Of course, these numbers should be considered more seriously!
Do not use priority for non-real time traffic. Priority traffic allows
control of delay, which you should be able to use for real-time
applications (most typically voice).
Policing (as in your configuration below) is an option to restrict
traffic to a certain bandwidth but not to control bandwidth allocation
of different classes.
Cisco has pretty good design material on the "Solution Reference Network
Design" page: http://www.cisco.com/warp/public/779/largeent/it/ese/srnd.html

Michael Love wrote:
> I'm trying to set up a couple of classes of traffic on our edge router, and
> I want them set up in such a way that as long as nothing else on our network
> needs it, Class "low-priority" gets a portion of our available bandwidth,
> but that class is the first to give up its bandwidth if any other client
> needs it.
>
> I currently have something like this:
> ---------------------
> Class-Map match-any low-priority
> Match protocol blah1
> Match protocol blah2
> Match access-group name blah3
>
> Policy Map incoming-test
> Class low-priority
> set precedence 0
> police cir 256000 bc 8000 be 8000
> conform-action transmit
> exceed-action drop
> violate-action drop
> Class class-default
> set precedence 2
> ---------------------
>
> This, of course, doesn't do what I want, but it is keeping the traffic in
> "low-priority" from eating up the rest of the network when we are needing
> the bandwidth for other things.
>
> Let's say our maximum incoming bandwidth is something like 1,000,000bps.
> Would it work the way I want if I set class-default like this?
> ---------------------
> Class class-default
> police cir 1000000 bc 31250
> conform-action transmit
> exceed-action drop
> ---------------------
>
> None of the tweaks I make seem to work the way I want and only impede the
> traffic I want to give the priority. Is this something I need to use
> random-detect for? I downloaded a number of Cisco docs on QoS like
> "Configuring a QoS Service Policy", but there aren't enough examples for me
> to get a good idea of how to approach this. Most of them seem, to me, to be
> more along the lines of "policy 1 gets 20%, policy 2 get 30%, and policy 3
> gets all the rest". I want something like, "policy 1 gets 25%, as long as
> nothing else on the network needs it"
>
> Also, could anyone point me to a good book or online tutorial on QoS policy
> design?
>
>


Similar ThreadsPosted
ASA Policy NAT Question September 14, 2006, 9:12 am
Question about NAT (maybe need to use policy NAT)? June 30, 2008, 6:09 pm
PIX question Policy NAT - quite urgent - March 11, 2005, 4:35 pm
policy route-map question January 11, 2007, 10:54 am
Policy Based Routing Question November 13, 2005, 7:38 pm
Policy Routing: Guaranteeing Bandwidth Question March 27, 2007, 11:23 pm
policy based routing for multiple tracking options question April 9, 2006, 8:42 pm
VoIP QoS Recommendations January 31, 2005, 11:09 pm
3rd party RAM recommendations November 22, 2005, 1:59 pm
Hardware Recommendations December 12, 2005, 6:01 pm

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map