cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1662
Views
8
Helpful
3
Replies

how to set username and password on router

redindian
Level 1
Level 1

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 3

spremkumar
Level 9
Level 9

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

mohammedmahmoud
Level 11
Level 11

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.

Pavel Bykov
Level 5
Level 5

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card