Bandwidth Allocation to Group of users

Dear all,

I have PPPOE server is there any way that i put pppoe users in groups and then apply bandwidth on groups.
for example :
1- Group-A (10 pppoe users -1MB , 2MB …10MB users) => but over all bandwidth on Group-A don’t cross 100MB
2- Group-B (20 pppoe users-1MB , 2MB …10MB users) => but over all bandwidth on Group-B don’t cross 50MB
3- Group-C (5 pppoe users -1MB , 2MB …10MB users) => but over all bandwidth on Group-C don’t cross 20MB
Or any other solution welcome

in PPP profile you can specify a parent queue for the dynamic queue created for the user