7600 - 800Mbps Unsupported shaping rate

Unanswered Question
Jul 23rd, 2013
User Badges:

Dear all,


I'm running IOS 15.2(4)S1 on a 7609S. Configuring in the lab an egress policy for a service instance associated to a pseudowire on a ES+ card, I tried to apply the following QoS egress policy:


policy-map ChildPolicy_CustomerEgress_800Mbps

class Class_CustomerEgress

  shape average 800000000

policy-map Policy_CustomerEgress_800Mbps

class class-default

  shape average 10000000000

   service-policy ChildPolicy_CustomerEgress_800Mbps


The interface was configured in the following way:


interface GigabitEthernet7/14

no ip address

load-interval 30

no keepalive

service instance 10 ethernet

  encapsulation default

  service-policy input Policy_CustomerIngress_800Mbps

  service-policy output Policy_CustomerEgress_800Mbps

  xconnect 10.23.23.2 404 encapsulation mpls pw-class Tunnel-103

!


When I configured the output service-policy I received the following error message:


%X40G_QOS-DFC7-4-CFG: Unsupported shaping rate of 800000000, rounded to 131008000 in policymap ChildPolicy_CustomerEgress_800Mbps


I tried to find information about this restriction, but I was unable to find it. Do you know if there is really a restriction about the shaping rate configurable within a child policy?


Thanks in advance


Octavio

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Dimitris Befas Thu, 02/27/2014 - 06:55
User Badges:

Hi Octavio,


One way to get this work is to remove the shaper from the clild policy and apply it to the parent only:


policy-map ChildPolicy_CustomerEgress_800Mbps

class Class_CustomerEgress

policy-map Policy_CustomerEgress_800Mbps

class class-default

shape average 800000000

  service-policy ChildPolicy_CustomerEgress_800Mbps


The other way is to add a new child to current child:

policy-map dimitris

class class-default

policy-map ChildPolicy_CustomerEgress_800Mbps

class Class_CustomerEgress

   shape average 800000000

    service-policy dimitris

policy-map Policy_CustomerEgress_800Mbps

class class-default

  shape average 1000000000

   service-policy ChildPolicy_CustomerEgress_800Mbps

Sandip Rathod Sun, 03/02/2014 - 00:03
User Badges:
  • Cisco Employee,

Hi


If I look at parent egress policy, you have shaped it into 10 Gbps, while you you are appling this on 1Gig

Why are you appling shaping on both child and parent policy ?


Apply 800mbps only on egress parent policy map.


policy-map Policy_CustomerEgress_800Mbps

class class-default

shape average 10000000000



Regards,

Sandip

Dimitris Befas Wed, 03/05/2014 - 00:43
User Badges:

Hi Sandip,


What Octavio reports is valid. It seems like one more zero is added to his config snippet, but even if it was 1G instead of 10G, the same behavior is observed. This was probably a typo.


For example, you may check the config below that is not working as it will result to the "Unsupported shaping rate of 600000000, rounded to 131008000 in policymap test"


!

policy-map test

class class-default

  shape average 600000000 6000000 3000000

interface GigabitEthernet2/19

service-policy output test

%X40G_QOS-DFC2-4-CFG: Unsupported shaping rate of 600000000, rounded to 131008000 in policymap test

!


If you create a nested policy with the addition of a dummy map, it works:


!

policy-map dummy

class class-default

policy-map test

class class-default

  shape average 600000000 6000000 3000000

service-policy dummy

interface GigabitEthernet2/19

service-policy output test

!


The problem is that the above log is not cosmetic but it really limits the shaper to about 132Mbps.


Regards,

Dimitris

Actions

This Discussion