Yes, the attribute you need to return Back to your NAS, might be vendor specific (take a look at the dictionnaries). Sending this Attr in Access-Accept, should do the trick but I suggest you still use accounting cause It's always helpfull, and because It's one A in AAA!

Sent from my HTC.

----- Reply message -----
De : "weiwei fang" <fangvv@gmail.com>
Date : Lun, mai 24, 2010 15:09
Objet : Re : What is the Class attribute for?
Pour : "Arran Cudbard-Bell" <a.cudbardb@gmail.com>
Cc : "FreeRadius users mailing list" <freeradius-users@lists.freeradius.org>


Thanks for your kindly reply.

Now our company has bought the WiMAX products. We want to use freeradius as the AAA server.

However, the vendor told us that we need to return back the user's qos service level back to AGW after authenticating this user. I looked up the documents and found this attribute. And as the WiMAX network will be used only for our company, we don't want to use the "accounting" part in freeradius(btw: how can I get rid of this part and don't let this part start)?

So maybe we need to define a vendor-specific attribute for our purpose?

Thanks again for your help!

2010/5/25 Arran Cudbard-Bell <a.cudbardb@gmail.com>

On May 24, 2010, at 1:36 PM, Alexandre Chapellon wrote:

> I personnally use it for QoS definition. It works as expected but i can't garantee this is the regular use for this attribute.
>
> What's special with the class attribute is that if you send It in Access-Accept, It should be added in later accounting packets. This can be very usefull and if you don't nées this features i suggest you use another attribute.
>

The use of the 'Class' attribute is site specific; you can use it to carry any value you want. If you're setting client QoS settings dynamically then the attribute is User-Priority-Table as described in RFC 4674.

Personally I think the best way to use the Class attribute is to link Authentication and Accounting sessions. All other session attributes can be stored in a database.

-Arran

> Sent from my HTC.
>
> ----- Reply message -----
> De : "weiwei fang" <fangvv@gmail.com>
> Date : Dim, mai 23, 2010 23:15
> Objet : What is the Class attribute for?
> Pour : <freeradius-users@lists.freeradius.org>
>
> Hello, all!
>
> I noticed that RFC 2865 defined an attribute called "Class", but I don't know its meaning and usage. Can I use it as the QoS classfication for the user?
>
> Thanks!
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html