Appendix d. radius accounting, Description – PLANET WSG-500 User Manual
Page 133
129
Appendix D. RADIUS Accounting
This section will briefly introduce the basic configuration of RADIUS server to work with VSA for
the purpose to control the maximum client volume usage (upload; download or upload +
download traffic).
This VSA will be sent from RADIUS server to gateway along with an Access-Accept packet. In
other words, when the external RADIUS server accepts the request, it will reply not only an
Access-Accept but also a maximum value in bytes each user is allowed to transfer. This value
can be the maximum upload traffic, the maximum download traffic, or the sum of the download
and upload traffics in bytes per user. Gateway will check this value every minute; if the user
traffics reach this value, gateway will stop the session of this user and send a “Stop” to RADIUS
server.
1. Description
VSA is designed to allow vendors to support their own extended Attributes not covered in
common attributes. It MUST not affect the operation of the RADIUS protocol.
The Attribute Type of VSA is “26” and the “Vendor ID” should be determined before proceeding
to RADIUS configuration; in this example; the Vendor ID is “21920”. “Attribute Number” and
“Attribute Value” can then be designed to provide additional control over RADIUS.
Attribute Name
Attribute
Number
Attribute Value
WSG-500-Byte-Amount
10
To be defined by administrator for
different user group
WSG-500-MaxByteIn
11
To be defined by administrator for
different user group
WSG-500-MaxByteOut
12
To be defined by administrator for
different user group
WSG-500-Byte-Amount-4GB 20
To
be
defined by administrator for
different user group
WSG-500-MaxByteIn-4GB
21
To be defined by administrator for
different user group
WSG-500-MaxByteOut-4GB 22
To
be
defined by administrator for
different user group