These steps are for Huawei wireless access controllers (AC and Fit AP) running V200R022. Huawei documents this configuration from the command line, so log in to the AC over SSH or the console and run the commands below. If you already use any of these profile names, choose different ones.
RADIUS server template
Enter the system view and create a RADIUS server template with both Purple servers for authentication and accounting. The higher weight makes **radius_server_ip_1** the primary server:
system-view
radius-server template purple-staff
radius-server authentication **radius_server_ip_1** **radius_auth_port** weight 80
radius-server authentication **radius_server_ip_2** **radius_auth_port** weight 40
radius-server accounting **radius_server_ip_1** **radius_acct_port** weight 80
radius-server accounting **radius_server_ip_2** **radius_acct_port** weight 40
radius-server shared-key cipher **radius_secret**
radius-server algorithm master-backup
radius-attribute set NAS-Identifier **nasid**
quitDo not add a radius-server authorization line: Purple does not use CoA.
Authentication and accounting schemes
Create the AAA schemes:
aaa
authentication-scheme purple-staff
authentication-mode radius
quit
accounting-scheme purple-staff
accounting-mode radius
quit
quit802.1X and authentication profiles
Create an 802.1X access profile in EAP relay mode, so EAP-TLS passes through to Purple, and an authentication profile that ties everything together:
dot1x-access-profile name purple-staff
dot1x authentication-method eap
quit
authentication-profile name purple-staff
dot1x-access-profile purple-staff
authentication-scheme purple-staff
accounting-scheme purple-staff
radius-server purple-staff
quitSSID
Create the security, SSID and VAP profiles. Replace Staff WiFi with the SSID we've agreed, and 101 with the VLAN your staff network uses:
wlan
security-profile name purple-staff
security wpa2 dot1x aes
quit
ssid-profile name purple-staff
ssid "Staff WiFi"
quit
vap-profile name purple-staff
forward-mode direct-forward
service-vlan vlan-id 101
security-profile purple-staff
authentication-profile purple-staff
ssid-profile purple-staff
quitAccess points
Bind the VAP profile to the radios of the AP group your access points are in. Replace ap-group1 with your AP group and 2 with a WLAN ID that group does not use yet:
ap-group name ap-group1
vap-profile purple-staff wlan 2 radio 0
vap-profile purple-staff wlan 2 radio 1
quit
quitSave
Return to the user view and save the configuration, answering y when asked:
return
saveConfiguration Complete
The configuration is now complete.