<div dir="ltr"><div><div><div>Ok, i found soultion.<br><br></div>Here is example:<br><br>qos policy pppoe_down metering <br> ip access-group PPPoE-OUT BRAS<br> class YT<br> rate 128 burst 24576 counters<br> class INET<br>
rate 128 burst 24576 counters<br> rate-calculation exclude layer-2-overhead<br>!<br>qos policy pppoe_up policing <br> ip access-group PPPoE-IN BRAS<br> class YT<br> rate 128 burst 24576 counters<br> class INET<br> rate 128 burst 24576 counters<br>
rate-calculation exclude layer-2-overhead<br><br></div>and some radius attributes:<br><br> Qos-Policing-Profile-Name = "pppoe_up"<br> Qos-Metering-Profile-Name = "pppoe_down"<br> Dynamic-QoS-Param = "meter-class-rate YT rate-absolute 2048"<br>
Dynamic-QoS-Param = "meter-class-burst YT 380928"<br> Dynamic-QoS-Param = "police-class-rate YT rate-absolute 2048"<br> Dynamic-QoS-Param = "police-class-burst YT 380928"<br> Dynamic-QoS-Param = "meter-class-rate INET rate-absolute 2048"<br>
Dynamic-QoS-Param = "meter-class-burst INET 380928"<br> Dynamic-QoS-Param = "police-class-rate INET rate-absolute 2048"<br> Dynamic-QoS-Param = "police-class-burst INET 380928"<br> <br>
</div>I hope this will be helpful to others who don't know how to do it ;)<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/2/25 Piotrek S. <span dir="ltr"><<a href="mailto:komuch@gmail.com" target="_blank">komuch@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi,<br><br></div><div>I want to give my customers a higher speed rates from some network places (eg. from my peering partners, youtube, etc.)<br>
</div><div><br></div>Currently i have simple config without classes:<br>
<br>qos policy pppoe_down metering <br> rate 1024 burst 100000<br> rate-calculation exclude layer-2-overhead<br>!<br>qos policy pppoe_up policing <br> rate 1024 burst 100000<br> rate-calculation exclude layer-2-overhead<br>
!<br><br></div>In this case configuration is very simple.<br>Rates are provided by radius/coa (Qos-Rate-Outbound/inbound).<br><br></div><div>Is it possible to make some exceptions ?<br><br></div><div>I know... i can make a few policy/metering profiles with different rates but IMO it is not good way for me (various speeds)<br>
<br></div><div>Thanks for any advice.<br><br></div><div>Regards<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>P.<br></div></font></span></div>
</blockquote></div><br></div>