[c-nsp] IP precedence inside of a service policy
Glen Turner
glen.turner at aarnet.edu.au
Tue Aug 24 20:19:37 EDT 2004
On Wed, 2004-08-25 at 04:05, Temkin, David wrote:
> This may sound silly, but if I'm applying the IP precedence inside of a
> service policy but have a default class, how does it get applied. Let's
> say I have:
>
> !
> policy-map test
> class test
> set ip precedence 5
> class test1
> bandwidth 10000
> class class-default
> fair-queue
> random-detect
I too have pondered this. My conclusion is that service policies are not
recursive, so only one "class" clause is executed per packet.
However, you are allowed to have two service policies -- one on input
and one on output. So to re-work your example:
class-map CS5
match ip dscp cs5
policy-map IN
class TEST
set ip dscp cs5
class class-default
set ip dscp default
policy-map OUT
class CS5
bandwidth 10000
class class-default
fair-queue
random-detect
I'm open to correction, as Cisco's documentation is rather poor, but
this seems to fit the DiffServ QoS model that the Modular QoS is trying
to implement.
--
Glen Turner Tel: (08) 8303 3936 or +61 8 8303 3936
Australian Academic & Research Network www.aarnet.edu.au
More information about the cisco-nsp
mailing list