Current location - Quotes Website - Collection of slogans - How to open telnet on Cisco router
How to open telnet on Cisco router
The operation method and steps of setting TELNET command on cisco router are as follows:

1. Step 1: Put two routers into Cisco software.

Then enter the name and IP address under the router, as shown in the figure below, and then go to the next step.

2. Secondly, after completing the above steps, enter the "CLI" window of router R 1.

Configure the R 1 IP address on the "f0/0" interface, as shown in the figure below, and then proceed to the next step.

3. Then, after completing the above steps, enter the "line" mode and configure the password. Then use the login command to call the "start" password, as shown in the figure below, and then go to the next step.

4. Then, after completing the above steps, configure the IP address in the R2 router. Then, use the "Telnet" command to test the connectivity of the two routers, as shown in the figure below, and then go to the next step.

5. Then, after completing the above steps, configure the static hostname for R 1 in R2. The specific command code is shown in the red box below, and then go to the next step.

6. Finally, after completing the above steps, you can perform "Remote Login" and "ping" tests in R2, as shown in the figure below. In this way, the problem is solved.

The first type: telnet119.97.5.128.

This is an ip on the public network, and the telnet protocol is generally not enabled, because telnet is in plain text when it is spread, that is to say, if someone uses the package grabbing software, you can directly know your user name and password, so "the connection with the host computer cannot be opened, and the connection on port 23 fails" because this protocol is not enabled externally on the router.

The second type: when trying to log in to the Internet cafe, the router prompts that there is no permission.

This means that this router has opened this port, but it is forbidden for others to connect remotely. For example:

Access list 10 1 allowed tcp hosts192.168.0.10 hosts192.168.0.254EQ23.

Access list 10 1 deny tcp to any host192.168.0.254EQ23

The first statement means that only the ip of192.168.0.10 can telnet to the router 192.5438+068.0.254.

The second statement is that telnet is denied to the ip address used by this router, 192. 168.0.254.

This is the reason why there is no authority; In addition, the port of telnet is port 23 of tcp.