[rbak-nsp] QoS exception

Piotrek S. komuch at gmail.com
Mon Feb 25 18:17:23 EST 2013


Ok, i found soultion.

Here is example:

qos policy pppoe_down metering
 ip access-group PPPoE-OUT BRAS
  class YT
   rate 128 burst 24576 counters
  class INET
   rate 128 burst 24576 counters
 rate-calculation exclude layer-2-overhead
!
qos policy pppoe_up policing
 ip access-group PPPoE-IN BRAS
  class YT
   rate 128 burst 24576 counters
  class INET
   rate 128 burst 24576 counters
 rate-calculation exclude layer-2-overhead

and some radius attributes:

    Qos-Policing-Profile-Name = "pppoe_up"
    Qos-Metering-Profile-Name = "pppoe_down"
    Dynamic-QoS-Param = "meter-class-rate YT rate-absolute 2048"
    Dynamic-QoS-Param = "meter-class-burst YT 380928"
    Dynamic-QoS-Param = "police-class-rate YT rate-absolute 2048"
    Dynamic-QoS-Param = "police-class-burst YT 380928"
    Dynamic-QoS-Param = "meter-class-rate INET rate-absolute 2048"
    Dynamic-QoS-Param = "meter-class-burst INET 380928"
    Dynamic-QoS-Param = "police-class-rate INET rate-absolute 2048"
    Dynamic-QoS-Param = "police-class-burst INET 380928"

I hope this will be helpful to others who don't know how to do it ;)


2013/2/25 Piotrek S. <komuch at gmail.com>

> Hi,
>
> I want to give my customers a higher speed rates from some network places
> (eg. from my peering partners, youtube, etc.)
>
> Currently i have simple config without classes:
>
> qos policy pppoe_down metering
>  rate 1024 burst 100000
>  rate-calculation exclude layer-2-overhead
> !
> qos policy pppoe_up policing
>  rate 1024 burst 100000
>  rate-calculation exclude layer-2-overhead
> !
>
> In this case configuration is very simple.
> Rates are provided by radius/coa (Qos-Rate-Outbound/inbound).
>
> Is it possible to make some exceptions ?
>
> I know... i can make a few policy/metering profiles with different rates
> but IMO it is not good way for me (various speeds)
>
> Thanks for any advice.
>
> Regards
>
> P.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/redback-nsp/attachments/20130226/ac2fd081/attachment.html>


More information about the redback-nsp mailing list