how to set username and password on router

Unanswered Question
Aug 3rd, 2007

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.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (2 ratings)
mohammedmahmoud Fri, 08/03/2007 - 03:45


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


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.


Mohammed Mahmoud.

Pavel Bykov Fri, 08/03/2007 - 03:54

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.


This Discussion