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)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s