<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>Problem traffic shaping individual PPPoE sessions on a Cisco 2621XM running c2600-telco-mz.123-7.T3.bin</TITLE>
</HEAD>
<BODY>
<BR>

<P><FONT SIZE=2 FACE="Arial">We have configured a Cisco 2621XM as a LAC in which we are terminating various PPPoE connections. At the moment the solution is working but the bandwidth that each PPPoE session uses is a bit of a free for all. We would like to limit each PPPoE session to not exceed 512k. I have found some good documentation on the Cisco site which says that this can be done using both , 'service policies' or 'traffic-shape rate' on the Virtual-Template interface. The router accepts the configuration without a problem but for some reason when we check the throughput it exceeds 512k.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">The documentation on the web site bases it's examples on a Cisco 10000 platform but I don't think that would make a difference in this case because all the commands we need are supported on the Cisco 2621XM. The IOS we are running is, 'c2600-telco-mz.123-7.T3.bin' which I'm wondering if it may be the problem here. The router we are using also supports Virtual-Template subinterfaces but for some reason if I apply the traffic shaping commands to the Virtual-Template I should see the commands displayed when I use the following command and I don't:</FONT></P>

<P><FONT SIZE=2 FACE="Arial">interface Virtual-Template1</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;description PPPoE Session</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;mtu 1492</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;bandwidth 512</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;ip unnumbered Loopback0</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;no peer default ip address</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;no keepalive</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;traffic-shape rate 512000 8000 8000 1000</FONT>
<BR><FONT SIZE=2 FACE="Arial">!</FONT>
</P>

<P><B><FONT SIZE=2 FACE="Arial">CPR00227-test#test virtual-template 1 subinterface</FONT></B>
<BR><B><FONT SIZE=2 FACE="Arial">Subinterfaces may be created using Virtual-Template1</FONT></B>
<BR><B><FONT SIZE=2 FACE="Arial">CPR00227-test#</FONT></B> 
</P>

<P><FONT SIZE=2 FACE="Arial">The example above should limit each PPPoE session to 512k but it doesn't seem to work. I have also tried the configuration below and it also isn't working:</FONT></P>

<P><FONT SIZE=2 FACE="Arial">policy-map PPPoE-SESSION-TRAFFIC</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;class class-default</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; police cir 512000 bc 96000 be 192000</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; conform-action transmit</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; exceed-action drop</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; violate-action drop</FONT>
<BR><FONT SIZE=2 FACE="Arial">!</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">interface Virtual-Template1</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;description PPPoE Session</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;mtu 1492</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;bandwidth 512</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;ip unnumbered Loopback0</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;service-policy input PPPoE-SESSION-TRAFFIC</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;service-policy output PPPoE-SESSION-TRAFFIC</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;no peer default ip address</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;no keepalive</FONT>
<BR><FONT SIZE=2 FACE="Arial">!</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">CPR00227-test#show policy-map interface Virtual-Template1</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp;Virtual-Template1</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">&nbsp; Service-policy input: PPPoE-SESSION-TRAFFIC</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; Service policy content is displayed for cloned interfaces only such as vaccess and sessions</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">&nbsp; Service-policy output: PPPoE-SESSION-TRAFFIC</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp; Service policy content is displayed for cloned interfaces only such as vaccess and sessions</FONT>
<BR><FONT SIZE=2 FACE="Arial">CPR00227-test#</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Any idea what the problem could be?</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Regards,</FONT>
<BR><FONT SIZE=2 FACE="Arial">Mike</FONT>
</P>

</BODY>
</HTML>