
achatz at forthnet
Aug 6, 2004, 4:23 AM
Post #3 of 3
(255 views)
Permalink
|
|
Re: Problem traffic shaping individual PPPoE sessions on a Cisco 2621 XM running c2600-telco-mz.123-7.T3.bin
[In reply to]
|
|
no "Virtual-Template 1", but "Virtual-Access x" Whittle, Michael wrote: > Hi Tassos, > > I have already tried that: > > CPR00227-test#show policy-map interface Virtual-Template 1 > Virtual-Template1 > > Service-policy input: PPPoE-SESSION-TRAFFIC > > Service policy content is displayed for cloned interfaces only such as > vaccess and sessions > > Service-policy output: PPPoE-SESSION-TRAFFIC > > Service policy content is displayed for cloned interfaces only such as > vaccess and sessions > > --- > As you can see above each service policy "should" be cloned for each > session. It doesn't look like it's able to break down the stats for each > policy because they would be created and destroyed dynamically. > > I have an idea of what the problem is here but I'm not sure how to fix it. > > I found some documentation on the Cisco site describing how to configure > this using, 'traffic-shape rate': > http://www.cisco.com/en/US/partner/products/sw/iosswrel/ps1839/products_feat > ure_guide09186a00800f4b47.html#wp1043828 > > What the document says I should be seeing: > > --- > Examples > The following example tests virtual template 1 to determine if it can > support subinterfaces. The output shows that the traffic-shape rate 50000 > 8000 8000 1000 command that is configured on virtual template 1 prevents the > virtual template from being able to support subinterfaces. > > Router# test virtual-template 1 subinterface > > Subinterfaces cannot be created using Virtual-Template1 > > Interface specific commands: > > traffic-shape rate 50000 8000 8000 1000 > --- > > What I'm seeing: > > CPR00227-test#test virtual-template 1 subinterface > Subinterfaces may be created using Virtual-Template1 > CPR00227-test# > > I'm not seeing the, 'Interface specific commands' which I think is the > problem here. For some reason when the subinterface is created when the > PPPoE session is established it's not carrying through the traffic shaping > configuration. > > We are going to try and configure this on another platform and see if it > makes a difference but this should be working. I'm wondering if there's > something that could be enabled or disabled that would sort this out. > > Any ideas? > > > -----Original Message----- > From: Tassos Chatzithomaoglou [mailto:achatz [at] forthnet] > Sent: 06 August 2004 11:57 > To: Whittle, Michael > Cc: 'cisco-bba [at] puck' > Subject: Re: [cisco-bba] Problem traffic shaping individual PPPoE sessions > on a Cisco 2621 XM running c2600-telco-mz.123-7.T3.bin > > > > > Whittle, Michael wrote: > >>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. > >>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: >> >>interface Virtual-Template1 >> description PPPoE Session >> mtu 1492 >> bandwidth 512 >> ip unnumbered Loopback0 >> no peer default ip address >> no keepalive >> traffic-shape rate 512000 8000 8000 1000 >>! >> >>*CPR00227-test#test virtual-template 1 subinterface* *Subinterfaces >>may be created using Virtual-Template1* >>*CPR00227-test#* >> >>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: >> >>policy-map PPPoE-SESSION-TRAFFIC >> class class-default >> police cir 512000 bc 96000 be 192000 >> conform-action transmit >> exceed-action drop >> violate-action drop >>! >> >>interface Virtual-Template1 >> description PPPoE Session >> mtu 1492 >> bandwidth 512 >> ip unnumbered Loopback0 >> service-policy input PPPoE-SESSION-TRAFFIC >> service-policy output PPPoE-SESSION-TRAFFIC >> no peer default ip address >> no keepalive >>! >> >>CPR00227-test#show policy-map interface Virtual-Template1 >>Virtual-Template1 >> >> Service-policy input: PPPoE-SESSION-TRAFFIC >> >> Service policy content is displayed for cloned interfaces only >>such >>as vaccess and sessions >> >> Service-policy output: PPPoE-SESSION-TRAFFIC >> >> Service policy content is displayed for cloned interfaces only >>such >>as vaccess and sessions >>CPR00227-test# >> > > > When you ahve some users connected, try > "show policy-map interface Virtual-Access X" > where X is the va interface number where the user is connected. > > >>Any idea what the problem could be? >> >>Regards, >>Mike >> >> >>---------------------------------------------------------------------- >>-- >> >>_______________________________________________ >>cisco-bba mailing list >>cisco-bba [at] puck >>https://puck.nether.net/mailman/listinfo/cisco-bba > > -- *************************************** Tassos Chatzithomaoglou Network Design & Development Department FORTHnet S.A. <achatz [at] forthnet> ***************************************
|