Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Add/Delete Users for Telnet Access- Cisco 2600

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
Hi-

This is probably a simple one, but i need to remove a user and add myself as a user with telnet access to our Cisco 2600.

What i mean is- when i telnet into the router, i am prompted for a username/password before i get to the 'router>' prompt. I want to remove a current user and add myself.

Side question: will this username/pwd info be the same if i was connecting directly to the router through something like hyperterminal?

Thank you.
 
This sounds like a job for AAA. To add users to the router's local database you would issue a command like this in global config mode:

ex.
router(config)#username WurlyBurly password iwantin
router(config)#username admin password letmein

To remove users from the local database just issue the same command with a "no" in front.

ex.
router(config)#no username WurlyBurly password iwantin
To implement AAA(authentication,authorization,and accounting) issue these comands in global config:

ex.
router(config)#aaa new-model
router(config)#aaa authentication login default enable
router(config)#aaa authentication login vty-access local

Be careful, once you issue the "aaa new-model" command, you can very easily get locked out of your router and will have to perform password recovery!

Now enter the following commands to enable AAA on telnet lines:

ex.
router(config)#line vty 0 4
router(config-line)#login authentication vty-access
hit cntl-Z and do a wr mem
Now when you do a telnet to this router, it will prompt you for a username and password after which you will receive the "router>"prompt. Then you will need to enter the enable password to enter priveledged exec mode.

Your side question: If you hyperterm into the router thru the console port then you will be asked for the enable password and enable secret password, these are different than the username/password combo.

Hope this helps and good luck
 
Also keep in mind the router may be pointing to a tacacs or radius server for authentication so you may need add and remove users there.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top