Software: Cisco Packet Tracer Instructor
The software download link is in the previous article.
Content: Learn how to configure a switch with Telnet by setting three passwords.
Details: The IP address and switch management IP address of the computer must be in the same network segment.
Switch ip:192.168.1.1 255.255.255.0
pc:192.168.1.2 255.255.255.0
PC Gateway: 192.168.1.1 (optional)
Set the password according to the order in which the password is to be entered, i.e.:
1. Set the password to connect the device via the console port;--in the text set 1234
2, set the password to enter the privileged mode switch#;--In the text set 2345
3, set telenet telnet password. --In this article set 3456
Steps:
1. By default, all ports in the switch are in VLAN1. Configure the management IP address of the switch:
2. Set the password for the console port connection device:
3. Set the password to enter the privileged mode switch#:
4. Set the password for Telnet telnet:
Here Vty 0 4 means that the virtual terminal is available by default for 0 to 4 of these five.
5, check the configuration situation:
You can view the password that has been set through show Running-config.
6. Verify Password:
A) Verify the password for the device connected through the console port:
(Note: In user mode, you are prompted to enter a password to connect to the device via the console port.) All passwords entered are not visible. )
b) Verify the password to enter privileged mode:
c) Verify the password for telnet remote login:
I. Set the IP address for the PC:
The IP address of the PC must be in the same network segment as the switch management IP.
II. Open command Prompt to do the following:
III. Verify Telnet remote login password:
If everything is right, you will see the following interface, the rest of the operation is the same as on the switch:
(Note: The first time I enter the telnet password is wrong, the second time is correct.) )
Network: Set three password: Connect the device through the console port, enter the privileged mode, login Telnet