Configure Telnet User Login to Use Local Authentication
Network Requirement
Configure Device to use local authentication for Telnet user login
Network Topology
![Networking of configuring Telnet user login to use local authentication](/storage/images/Document/Maipu/security/config-telnet-user-login-local-authen.jpg)
Figure 11-1 Networking of configuring Telnet user login to use local authentication
Configuration Steps
Step 1: Configure VLAN, and add the port to the corresponding VLAN. (omitted)
Step 2: Configure the IP address of the interface.(Omitted)
Step 3: Configure Device.
#Configure the user name as admin1 and password as admin1.
Device#configure terminal
Device(config)#local-user admin1 class manager
Device(config-user-manager-admin1)#service-type telnet
Device(config-user-manager-admin1)#password 0 admin1
Device(config-user-manager-admin1)#exit
|
#Configure the AAA authentication mode as the local authentication.
Device(config)#domain system
Device(config-isp-system)#aaa authentication login local
Device(config-isp-system)#exit
|
#Configure the Telnet session and enable the AAA local authentication.
Device(config)#line vty 0 15
Device(config-line)#login aaa
Device(config-line)#exit
|
Step 4: Check the result.
When the client logs in to Device via Telnet, input the user name admin1 and password admin1 according to the prompt, and then log in to the Shell user interface of Device successfully.