You can’t actually Telnet into a router unless somebody adds a password to the Telnet or vty lines. Again, you can add a password to the vty lines or tell the router to look for a local username and password (in the configuration file or username and password stored on a RADIUS/TACACS server), as shown below:
Router(config-line)#line vty 0 15
Router(config-line)#password cisco
Router(config-line)#login ← or login local
The output below is a Telnet session from one router to another. You can see the hostname change when you get Telnet access . . .
The content below this message is for members only.