61
# Configure
bbb
as the default ISP domain. Then, if a user enters a username without any ISP domain at
login, the authentication and accounting methods of the default domain will be used for the user.
[SwitchA] domain default enable bbb
2.
Configure the RADIUS server
# Create RADIUS user
aaa
and enter its view.
<SwitchB> system-view
[SwitchB] radius-server user aaa
# Configure simple-text password
aabbcc
for user
aaa
.
[SwitchB-rdsuser-aaa] password simple aabbcc
[SwitchB-rdsuser-aaa] quit
# Specify the IP address of the RADIUS client as 10.1.1.1 and the shared key as
abc
.
[SwitchB] radius-server client-ip 10.1.1.1 key abc
Verification
After entering username
aaa@bbb
or
aaa
and password
aabbcc
, user
aaa
can telnet to Switch A. Use
the
display connection
command to view the connection information on Switch A.
<SwitchA> display connection
Index=1 ,Username=aaa@bbb
IP=192.168.1.2
IPv6=N/A
Total 1 connection(s) matched.
Troubleshooting AAA
Troubleshooting RADIUS
Symptom 1
User authentication/authorization always fails.
Analysis
1.
A communication failure exists between the NAS and the RADIUS server.
2.
The username is not in the format of
userid
@
isp-name
or no default ISP domain is specified for the
NAS.
3.
The user is not configured on the RADIUS server.
4.
The password entered by the user is incorrect.
5.
The RADIUS server and the NAS are configured with different shared key.
Solution
Check that:
1.
The NAS and the RADIUS server can ping each other.
2.
The username is in the
userid
@
isp-name
format and a default ISP domain is specified on the NAS.
3.
The user is configured on the RADIUS server.
4.
The correct password is entered.
5.
The same shared key is configured on both the RADIUS server and the NAS.