RADIUS attribute dictionary defines Huawei proprietary private RADIUS attributes (including attribute number, attribute name, and attribute type) and Huwei vendor ID. When a Huawei device connects to a RADIUS server, the RADIUS server can correctly identify and process Huawei-defined RADIUS attributes after loading the attribute dictionary file. Different products of the same vendor may use the same attribute number to represent different attribute values. Therefore, private RADIUS attributes cannot be loaded on the same RADIUS server.
The following example describes how to install the freeRADIUS server of the Linux SUSE 12.
Configuration |
Step |
Description |
---|---|---|
Configure a local server. |
Obtain the root permission. |
Obtain the root permission on the Linux server where the RADIUS server is installed. |
Replace the RADIUS attribute dictionary. |
Open the directory where the RADIUS attribute dictionary is saved. |
Open the directory /usr/share/freeradius on the RADIUS server. |
Replace dictionary attributes. |
Replace the original dictionary.huawei file with the RADIUS attribute dictionary. You are advised to back up the original file and name the backup file, for example, dictionary.huawei.bak. |
|
- |
Verify the configuration. |
After the replacement, restart the RADIUS server and verify that the RADIUS private attributes take effect based on onsite services and that the replacement is successful. |