Configure a Local Device to Log in to a Remote Device via Telnet
Network Requirements
- The local device Device1 acts as the Telnet client, while the remote device Device2 acts as the Telnet server.
- A route must be available between the two devices.
- The PC can normally log in to Device1.
Network Topology
Figure 2-7 Network Topology for Configuring a Local Device to Telnet to a Remote Device
Configuration Steps
Step 1: Create VLANs, and add ports to the required VLANs.(Omitted)
Step 2: Configures IP addresses for the ports. (Omitted)
Step 3: Log in to Device1 through the PC.(Omitted)
Step 4: On Device1, run the following command to Telnet to Device2.
Device1#telnet 2.0.0.1
#Enter the shell screen of Device2.
Connect to 2.0.0.1 ...done
Device2>
|
After logging in to the Device2 successfully, input the correct enable password to obtain the required operation rights of the device. To log off the device, input the exit command continuously.
-
If the "Too many clients or invalid access" message is displayed, it indicates that the number of login users has reached the maximum allowed number of login users of the device. In this case, wait a while and try to log in again.
- If the "%enable operation is locked by login-secure service" message is displayed, it indicates that the number of enable password input errors exceeds the number of continuous login authentication failures. If the number of enable password input errors reaches the number specified by the system, the system rejects the login connection request from the IP address during the specified time.
- If the "Password required, but none set" message is displayed, it indicates that no login password has been configured in line vty.