Most popular Telnet

Source: Internet
Author: User

Click on the switch in the simulator, it is equivalent to the real PC via the control line to connect the true switch
Because I telnet to the switch with a remote login. Because Telnet works in the TCP/IP model application layer, now let the application layer of communication, I first want to ensure that the network layer communication, communication, that is, with ping to test, it is necessary to match the IP address first
First, configure the IP address (192.168.1.1/24) for the PC. The switch is then configured with an IP address, because the switch is a Layer two switch, which is also port two on the port. It does not recognize the IP bar, but as a two-layer switch, the default is a VLAN1, and all to port by default in VLAN 1, as VLAN 1 has two concepts. The first concept on level two is an admin domain. Second, the three layer is a virtual to three layer interface, so with the IP is on the VLAN 1 to the interface. Match to Method interface Vlan1
IP address 192.168.1.2 255.255.255.0
Ping 192.168.1.2 on the PC is assumed to be able to ping the network layer. Link layer, physical layer can communicate
The next step is to execute us to telnet,telnet. It is the application layer to the Protocol, and it can be regarded as a service. As a service there is a server and a client. To run Telnet, first on the server to the Telnet configuration, the Telnet server is the end of the switch, configuration method
SW (config) #line vty 0 4 (vty is the Telnet line and goes from 0 to 4 to 5 lines)
SW (config-line) #password 123 Configure the password under these 5 lines
SW (Config-line) #login when the other side telnet through No. 0 line or 1th line or 4th line, I switch to run password test
Running Telnet 192.168.1.2 on the PC will then pop up to have your user enter password, when you enter 123, you will be able to enter the switch to user mode (user mode is > mode), but in user mode can not configure the switch, To enter the administrator mode talent configuration switch, method at the end of the switch
SW (config) #enable password 456 switch from user mode to admin mode on switch local to password is 456
PC running Telnet 192.168.1.2, via input line below to 123password into switch to user mode, at this time in input enable, in input enablepassword456 can remotely access switch to administrator mode

Copyright notice: This article Bo Master original articles, blogs, without consent may not be reproduced.

Most popular Telnet

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.