hierarchical shaping versus shaping in conjunction to cbwfq

From: Pierre-Alex (paguanel@hotmail.com)
Date: Sat Jun 03 2006 - 12:19:11 ART


Can someone enlighten me on those delicate points:

1) From what I understand in in the case of configuration 1, each class is
limited to its shapped value

In the case of configuration 2, each class is limited to its shapped value,
and the aggregate is shapped to the limit a.

(configuration 1 and 2 are taken from first Cisco reference at the end of this
e-mail).

  If you limit class 1 to x and class 2 to y , I do not see the need to shape
again, as we will never have more than x+ y of traffic.

   So what is the use/need for this configuration ?

2) In configuration 3, where I shaped both classes to the same value, is the
service policy necessary ? Would Configuration 4 accomplish the same thing as
configuration 3 ?

3) From what I have read, "class-default" as a parent class is required when
doing shaping over frame-relay pvcs (see second reference at the end of the
e-mail) and configuration 5 example. Is there another case when the
class-default is required appart from when asked to shape "ALL TRAFFIC" to a
given value as in configuration 6?

Thank you

Pierre-Alex

==========
Configuration 1:
==========

policy toto
  class 1
     shape x
     bandwidth y

  class 2
       shape w
       bandwidth z

============
Configuration 2:
==========

policy pop
    class main
       shape a
       service-policy toto

 policy toto
  class 1
     shape x
     bandwidth y

  class 2
       shape w
       bandwidth z

==========
Configuration 3:
==========

policy pop
    class main
       shape a
       service-policy toto

 policy toto
  class 1
     bandwidth y

  class 2
       bandwidth z

==========
Configuration 4:
==========

policy pop
    class main
       shape a

 class 1
     bandwidth y

  class 2
       bandwidth z

==============
Configuration 5
==============

interface serial0/0
encapsulation frame-relay
interface serial0/0.1 point-to-point
ip address 192.168.1.1 255.255.255.0
frame-relay interface-dlci 100
class shape

policy-map shape
class class-default
shape average 64000
shape adaptive 32000
service-policy llq

policy-map llq
class voice
priority 32

class-map voice
match ip dscp ef

==============
Configuration 6
==============

policy pop
    class class-default
       shape a
           service-policy toto

 policy toto
  class 1
     bandwidth y

  class 2
       bandwidth z

Cisco references:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fqos_
c/fqcprt4/qcfcbshp.htm#80464

http://www.cisco.com/en/US/products/ps6350/products_configuration_guide_chapt
er09186a0080455511.html



This archive was generated by hypermail 2.1.4 : Sat Jul 01 2006 - 07:57:31 ART