
Here is the needed syntax to configure a username and secret on cisco switch and router. Please see How to update Cisco ASA software from Cisco Website, How to enable ssh via ASDM, how to Check Windows Activation Status and troubleshoot activation errors, and How to deploy MBAM Client as part of a Windows Deployment.
Switch#username christian privilege 15 secreet passwordhere
Now, you have to configure your line console. This is needed for console access and vty ports need for telnet and ssh login.
For Line Console 0, enter the line configuration mode using the commands below. Followed by “login local” at the next prompt.
Switch#line console 0
- login local
For VTY Access via SSH and Telnet (Note: Using Telnet is not recommended). Enter the following command below followed by entering “login local” at the next prompt.
Switch#line vty 0 5
- login local
Note: You will have to set up (configure SSH differently)
I hope you found this blog post on How to configure a username and secret on cisco switch and router helpful. Please let me know in the comment session if you have any questions.