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

how to set username and password on router

hi, i'm a newbie here, can any experts guide me on how to set a username and password on a router, for instance 2503 router, thank you in advance.

3 REPLIES

Re: how to set username and password on router

Hi

Are you trying to configure username and password for login purpose ?

if yes then do refer the below link for more info on the same...

http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_configuration_guide_chapter09186a00800ca7a7.html

regds

Re: how to set username and password on router

Hi,

You can do this in 3 fashions:

1. Just use VTY and enable passwords.

2. Use local usernames and passwords on the router.

3. Use AAA.

The first case is easy:

enable secret xxxx

line vty 0 4

login

password xxxxx

The second case:

username xxxx password xxxx

enable secret xxxx

line vty 0 4

login local

The third case, i think that Edwin has provided a nice document for it.

HTH,

Mohammed Mahmoud.

Silver

Re: how to set username and password on router

I guess something like this could work:

aaa new-model

aaa authentication login default local

aaa authorization exec default local

aaa authorization commands 15 default local

username testuser secret testpassw

username testuser2 secret testpassw2

and so on.

hope this helps.

1071
Views
8
Helpful
3
Replies
CreatePlease to create content