Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

how to set username and password at line vty 0 4?

hi guys,

would like to know how i can set username and password so when i telnet to the router, i can login as username and password..?

thks,

ken

2 ACCEPTED SOLUTIONS

Accepted Solutions

Re: how to set username and password at line vty 0 4?

Ken,

You need to create a username and password in the global config mode and under the 'vty line 0 4' configure the command 'login local' and the device should prompt you for a username and password.

You need a config like this one.

global config mode:

username (user_name) password (password)

under the line:

line vty 0 4

login local

HTH

Sundar

Re: how to set username and password at line vty 0 4?

Hi,

for a simple telnet password with user name & password, find the steps below,

aaa new-model

username password

line vty 0 4

password

login local

if you wanted different types of users to login with different privilagez,do the following

username privilege 15 password

username privilege 5 password

privilege exec level 15 conf t

privilege exec level 5 show

line vty 0 4

password

login local

in the above statement "privilege exec level 15 "will have full access, "privilege exec level 5" will have the limited like "show" related

hope this helps.

rate this post if cleared.

2 REPLIES

Re: how to set username and password at line vty 0 4?

Ken,

You need to create a username and password in the global config mode and under the 'vty line 0 4' configure the command 'login local' and the device should prompt you for a username and password.

You need a config like this one.

global config mode:

username (user_name) password (password)

under the line:

line vty 0 4

login local

HTH

Sundar

Re: how to set username and password at line vty 0 4?

Hi,

for a simple telnet password with user name & password, find the steps below,

aaa new-model

username password

line vty 0 4

password

login local

if you wanted different types of users to login with different privilagez,do the following

username privilege 15 password

username privilege 5 password

privilege exec level 15 conf t

privilege exec level 5 show

line vty 0 4

password

login local

in the above statement "privilege exec level 15 "will have full access, "privilege exec level 5" will have the limited like "show" related

hope this helps.

rate this post if cleared.

949
Views
0
Helpful
2
Replies
CreatePlease to create content