cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
14622
Views
0
Helpful
2
Replies

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

ahpark78
Level 1
Level 1

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

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

View solution in original post

Anand Narayana
Level 6
Level 6

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.

View solution in original post

2 Replies 2

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

Anand Narayana
Level 6
Level 6

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.