Sw1(config)#line console 0
Sw1(config-line)# login local
Sw1(config-line)#exit
Sw1(config)#username naresh password cisco
Verify the Authentication
Sw1(config)#exit
Sw1#copy running-config startup-config
Sw1#exit
Sw1 con0 is now available
Press RETURN to get started.
User Access Verification
Username:naresh
Password:
Sw1>enable
Password:
Verify the User Status
!!! This command will show active user connected to console port.
Sw1#show usersNext Lab 1c Telnet Password