Network

How to configure a username and secret on Cisco Switch and Router

Here is the needed syntax to have this configured on a Cisco Router or Switch

Switch#username christian privilege 15 secreet passwordhere

Now you have to configure your line console 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)

Subscribe
Notify of
guest

2 Comments
Inline Feedbacks
View all comments
Kyle Butler
Kyle Butler
2 months ago

How to configure a username and secret on Cisco Switch and Router? Super duper thanks Christian. For a less Tech-savvy person like me. This is really a big big help.

2
0
Would love your thoughts, please comment.x
()
x