Enable and password protect telnet logins to Cisco routers

The ability to telnet to a Cisco router makes administration easier. This simple configuration enables telnet logins to the router and protects them with a password.


To enable telnet logins with the password PaSsWoRd:

conf t
line vty 0 4
login
password PaSsWoRd

 

About Quinn McHenry

Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
View more articles by Quinn McHenry

The Conversation

Follow the reactions below and share your own thoughts.

5 Responses to “Enable and password protect telnet logins to Cisco routers”

  1. October 03, 2008 at 8:30 pm, joeblow said:

    Don’t forget these passwords are sent in clear text when using telnet.

    Reply

  2. October 03, 2008 at 8:31 pm, joeblow said:

    Also, if you are already on a cisco router and you want to connect and administrate another cisco router through telnet, you need to have made it available through line aux 0 instead of vty 0 4.

    Reply

  3. November 07, 2008 at 12:40 pm, Allen said:

    follow your procedure, but i didn’t get the password prompt when i login again throught the telnet command. what’s the problem?

    Reply

  4. September 09, 2012 at 5:45 pm, Naveen said:

    ++ Add one more commend if it not work

    conf t line vty 0 4
    login
    password PaSsWoRd
    privilege level 15

    Reply

  5. December 10, 2012 at 9:14 am, andrew said:

    what if you begin with password class and end with login

    Reply

Leave a Reply