Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

setting username and password

Hello,

I'm trying to create local users in my Switch /Routers with different privileges. My requirement is when the user telnets to Switch /Router , he should get a screen with username rather than using login command from unprivileged mode . Now to to login , I telnet to Router and from there(unprivileged mode) I use login command to put the user name and then password.

Regards,

Raju

1 REPLY
New Member

Re: setting username and password

Try this:

username helpdesk prvilege 1 password helpdesk

!

username admin privilege 15 password admin

!

line vty 0 4

login local

!

line con 0

login local

!

Of course change the usernames and passwords according to your schema, but the key to this config is the 'login local' command on vty and con. This will prompt the user for username and password before even allowing them to access the user prompt.

HTH,

Jason

275
Views
0
Helpful
1
Replies