Experimental requirements: Use Telnet login to complete the initialization configuration of a switch
Topology diagram
1. Enter the command line of the switch
2. Enter enable into privileged mode
3. Enter configure terminal into global mode
4. Enter hostname Ruan Change host name to Ruan (here the hostname is just as good as you remember)
5. Enter enable password 1314 to set the plaintext management password to 1314
6. Enter enable secret 520 to set the encryption management password to 520 (note here that the plaintext password does not take effect when the encryption password is set)
7. Enter line vty 0 3 Set the number of virtual terminals (General Settings 5, up to 16, I set 3 in this)
8. Enter password 123 to set the remote login password to 123
9.login after setting the Telnet password, you need to add this one, if you do not add remote login password is invalid
10. Enter exit to return to the previous level (return to global mode)
11. Enter interface VLAN 1 into vlan1 port
12. Enter the IP address 192.168.1.200 255.255.255.0 to the Vlan1 to set the IP addresses, easy to use Remote tools to log on the device
13. Enter no shutdown to activate Vlan1 port
14. Enter end to return directly to privileged mode
15. Enter copy Running-config Startup-config to save the configuration from memory (RAM) to the hard disk (NVRAM) (if you think the code is too long, you can use tab to launch, avoid the wrong number)
16. Enter show Running-config to view the switch configuration
Initial configuration of the Cisco switch (login with telnet)