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