This is an updated post for the RADIUS authentication for SSH to HP Comware network devices running version 7.0. My previous post only supports Comware 5.2. The only changes needed is to edit the Freeradius users configuration file.
netadmin Cleartext-Password := "netadmin"
Service-Type = Administrative-User,
# RADIUS Attribute for original H3C/Comware
Huawei-Exec-Privilege = "3",
# Login-Service 50 is for SSH
Login-Service = 50,
# RADIUS Attribute for HP Comware 7.0
Cisco-AVPair = "shell:roles=\"network-admin\""
# Added RADIUS Attribute for Cisco IOS level15
Cisco-AVPair += "shell:priv-lvl=15"
I have added here updated configuration changes that will allow the account to access both HP Comware 5.2 and 7.0 as well as Cisco IOS network devices.
Enjoy!