Nested service policies, IEWB Lab 9, Task 8.4

From: Carlos G Mendioroz (tron@huapi.ba.ar)
Date: Mon Aug 30 2004 - 10:51:11 GMT-3


Task is to control P2P traffic after doing shaping to 5M
on an interface.

The solution proposed is to nest two service policies, one to do the
shaping and the other to do the policing.

But I think the policies are reversed.
The sol goes:

int atm0/0/0
   service-policy SHAPE

policy-map SHAPE
   class class-default
     shape average 5000000 160000 80000
     service-policy QOS_POLICY

policy-map QOS_POLICY
   class P2P
     police cir 8000

It is my understanding that the interface will shape to 5M ALL the
traffic and then the P2P traffic will be policed, so the link will be
underutilized (i.e. P2P will not be tx, but nothing else will take the
place).

Am I wrong ? (Would not be the first time :-)

-- 
Carlos G Mendioroz <tron@huapi.ba.ar>


This archive was generated by hypermail 2.1.4 : Fri Sep 03 2004 - 07:02:50 GMT-3