How to do Telnet Configuration on Cisco
A device can be managed either locally or remotely. There are various protocols, tools, and services (such as Telnet, Secure Shell ) that are used to manage devices
remotely. These tools are also referred as remote administration tools. Similar to Cisco routers, a Cisco switch can also be managed using the remote administrator tool as Telnet
Commands
Switch1(config)#line vty 0 4
Switch1(config-line)#password 123456
Switch1(config-line)#login
Switch1(config-line)#exit