RADIUS authentication or accounting is configured.
If HWTACACS, LDAP, or AD authentication or accounting is configured, you can run the test-aaa user-name user-password hwtacacs-template template-name [ accounting [ start | realtime | stop ] ], test-aaa user-name user-password ad-template template-name, and test-aaa user-name user-password ldap-template template-name commands to test connectivity between the device and authentication server or accounting server.
Test whether a user can pass RADIUS authentication or accounting, helping the administrator locate faults.
The test-aaa command returns an account test timeout message.
<sysname> test-aaa user1 huawei123 radius-template huawei
Info: Account test time out.
<sysname> test-aaa user1 huawei123 radius-template huawei accounting
Info: Account test time out.
The test-aaa command returns an account test failure.
<sysname> test-aaa user1 huawei123 radius-template huawei
Info: Account test failed.
<sysname> test-aaa user1 huawei123 radius-template huawei accounting
Info: Account test failed.
After the test-aaa command is run, the test is passed, but authentication or accounting cannot be performed for the user.
Run the display this command in the AAA view to check whether the user authentication or accounting domain is the same as the RADIUS authentication or accounting domain configured on the device.