How to enable Telnet and Encrypt the Telnet Session

  • by

How to enable Remote Connection with

Telnet and Encrypt the Telnet Session.

This commands are used to set password during login into the Console

DHK#configure terminal
DHK(config)#line console 0
DHK(config-line)#password 123 DHK(config-line)#login
DHK(config-line)#exit

This commands are used to enable access by telnet for remote login

DHK(config)#line vty 0 4
DHK(config-line)#password 123
DHK(config-line)#login
DHK(config-line)#exit

DHK(config)# enable password 1234 (This command is used to set password during login into ‘enable mode’)
DHK(config)#enable secret 1234 (Will set and encrypt the ‘enable password’ )

This encrypt all the passwords of running configuration file

DHK(config)#service password-encryption
DHK(config)#exit (To logout from config mode)
DHK#exit (To exit from the console)

Leave a Reply