Network requirements – H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 73
59
# Specify the primary authentication server and the service port number.
[AC-hwtacacs-hwtac] primary authentication 10.1.1.1 49
# Specify the primary authorization server and the service port number.
[AC-hwtacacs-hwtac] primary authorization 10.1.1.1 49
# Set the shared keys for authentication and authorization to expert.
[AC-hwtacacs-hwtac] key authentication expert
[AC-hwtacacs-hwtac] key authorization expert
# Configure the scheme to remove the domain name from a username before sending the username to
the HWTACACS server.
[AC-hwtacacs-hwtac] user-name-format without-domain
[AC-hwtacacs-hwtac] quit
# Create an ISP domain and configure authentication and authorization methods for login users, or
configure the default authentication and authorization methods for all types of users.
•
To configure authentication and authorization methods for login users:
[AC] domain system
[AC-isp-system] authentication login hwtacacs-scheme hwtac
[AC-isp-system] authorization login hwtacacs-scheme hwtac
[AC-isp-system] quit
•
To configure the default authentication and authorization methods for all types of users:
[AC] domain system
[AC-isp-system] authentication default hwtacacs-scheme hwtac
[AC-isp-system] authorization default hwtacacs-scheme hwtac
2.
Verify the configuration
Telnet to the AC and enter the correct username and password. You pass authentication and log in to the
AC. Issuing the display connection command on the AC, you can see information about the user
connection.
Local authentication and HWTACACS authorization for Telnet
users
Network requirements
As shown in
, there is an HWTACACS server at 10.1.1.2/24, which uses the shared key expert
to authenticate AAA packets. Configure the AC to perform local authentication for Telnet users and use
the HWTACACS server for Telnet user authorization, send usernames that carry no domain name to the
server, and use the shared key expert to authenticate packets exchanged with the server. Add a local
user on the AC, with the username and password both being telnet.
NOTE:
For AAA applications of service types other than Telnet, the AAA-related configurations are the same as
in this example, and only the access-related configurations are different.