[c-nsp] pppoe, traffic-shaping and cef ?

Dennis Peng dpeng at cisco.com
Tue Nov 1 17:07:36 EST 2005


Rate-limiting will work, but shaping is not supported on
virtual-interfaces (like PPPoE or L2TP) until an upcoming version of
12.2(27)SB.

Dennis

Alexandre Snarskii [snar at paranoia.ru] wrote:
> 
> Hi!
> 
> Are there any hints to make traffic-shaping work on pppoe virtual-access
> interfaces with cef running ? 
> Now i'm able to get it work only without cef, with process-switching, 
> but this leads to performance degradation...  
> 
> Router is as5300, 12.3(15b), ip+. 
> 
> configuration is pretty simple:
> 
> interface FastEthernet0.66
>  encapsulation dot1Q 66
>  pppoe enable group NAME
>  no snmp trap link-status
>  arp timeout 5
> 
> bba-group pppoe NAME
>  virtual-template 14
>  sessions per-mac limit 1
>  sessions per-mac throttle 5 10 60
> 
> interface Virtual-Template14
>  description <client>
>  mtu 1492
>  ip unnumbered FastEthernet0
>  no ip route-cache
>  peer default ip address pool <pool>
>  ppp authentication pap
> 
> traffic-shaping propagated with radius on per-user basis, 
> example of derived interface : 
> 
> interface Virtual-Access90
>  ip unnumbered FastEthernet0
>  rate-limit input access-group 101 64000 8000 16000 conform-action transmit exceed-action drop
>  no ip route-cache
>  traffic-shape group 102 1000000 25000 25000 1000
>  traffic-shape group 103 64000 8000 8000 1000
> end
> 
> where access-list 102 is acccess-list permitting access to our internal
> networks, and 103 is 'match-any' access-list, 
> 
> gw033-273#show ip access 103             
> Extended IP access list 103
>     10 permit ip any any (23004159 matches)
> 
> gw033-273#show ip access 102
> Extended IP access list 102
>     10 permit ip 217.170.80.0 0.0.0.255 any
>     20 deny ip any any (23022329 matches)
> 
> PS: i also tried to configure shaping with service-policy like that: 
> 
> gw033-273#show policy-map 64k-out
>   Policy Map 64k-out
>     Class <...>
>       Traffic Shaping
>          Average Rate Traffic Shaping
>          CIR 5000000 (bps) Max. Buffers Limit 1000 (Packets)
>     Class class-default
>       Traffic Shaping
>          Average Rate Traffic Shaping
>          CIR 64000 (bps) Max. Buffers Limit 1000 (Packets)
> 
> this policy applies to interface, but shaping does not works. 
> 
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/


More information about the cisco-nsp mailing list