[c-nsp] IP precedence inside of a service policy

Tantsura, Jeff jeff.tantsura at capgemini.com
Wed Aug 25 05:40:51 EDT 2004


Glen is right,
The packet will leave policy-map after first match and following action
in the class.

Jeff

With kind regards/ met vriendelijke groeten,
--------------------------------------------------------
Jeff Tantsura
CCIE #11416
Senior Consultant
Capgemini Nederland BV
Tel: +31(0)30 689 2866
Mob:+31(0)6 4588 6858
Fax: +31(0)30 689 6565
--------------------------------------------------------


-----Original Message-----
From: cisco-nsp-bounces at puck.nether.net
[mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of Glen Turner
Sent: Wednesday, August 25, 2004 2:20 AM
To: Temkin, David
Cc: cisco-nsp at puck.nether.net
Subject: Re: [c-nsp] IP precedence inside of a service policy

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

_______________________________________________
cisco-nsp mailing list  cisco-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/


Our name has changed.  Please update your address book to the following format: "recipient at capgemini.com".

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.




More information about the cisco-nsp mailing list