PPPoE queues for different routes

Hi Forum,

I really want to do some dynamic queuing. Previously, I’ve just set the Rate-Limit RADIUS reply for a simple queue to be added on the PPPoE server, and it works perfect. What I want to do now is a bit different, ultimately for example I want to be able to limit a user to 5mbit when going out via transit, but say 30mbit when going out via an IX interface.

Since the numbers can be different based on what the subscriber purchased, I’d really like a way to do this via radius attributes passed to the PPPoE server, at worst I wouldnt mind hitting a script on auth to hit the API’s and add queues to edge routers but im not sure on the performance of this or if there is a better way to do it.

Thoughts on best way to accomplish this?

Thanks,
Joe