Before we learned how to use the console port to login to the router console, this way we need to go to the computer room to connect the router every time. Router provides us with the telnet function, we can be in the LAN through the IP connection to the router configuration, do not have to go to the computer room every time.
Yong1>enable
yong1#
Yong1 (config) #line vty 0 4
yong1 (config-line) # Password Guoyong ' Set telnet line password
Yong1 (config-line) #exit ' the above for review
Yong1 (config) #enable secret guoyong ' Set Enable Password
The above is the setup port and telnet password and enable
Yong1 (config) #interface gigabitethernet 0/0 ' Enter S0 Port
Yong1 (config-if) #ip address 192.168.12.2 255.255.255.0; Set IP address and subnet mask
Yong1 (config-if) #no shutdown ' Port link layer open
Configure Port IP Ports, we use the client to ping the router's port
650) this.width=650; "style=" Float:none; "title=" capture.jpg "src=" http://s2.51cto.com/wyfs02/M02/7D/2D/ Wkiol1bharxgnitpaacqblmfx04445.jpg "alt=" Wkiol1bharxgnitpaacqblmfx04445.jpg "/>
Note that the enable password and vty password can only be connected by the pc telnet
we use to telnet router and of course we're still using putty. on one router. telnet
650) this.width=650; "style=" Float:none; "title=" 3.JPG "src=" http://s2.51cto.com/wyfs02/M02/7D/2E/ Wkiom1bhajdaou-vaadbdumazkq095.jpg "alt=" wkiom1bhajdaou-vaadbdumazkq095.jpg "/>
After landing the router we use Show users to display the current Telnet user
650) this.width=650; "style=" Float:none; "title=" 2.JPG "src=" Http://s4.51cto.com/wyfs02/M02/7D/2E/wKiom1bhai_ Xoupxaabks-s5yqe999.jpg "alt=" Wkiom1bhai_xoupxaabks-s5yqe999.jpg "/>
*------------------------- represents the line that is currently in use
0------------------------- represents the first VTY Line
192.168.12.1------------ indicates the landing port IP Address
This article is from the "Guo Yong Technology blog" blog, make sure to keep this source http://guoyong.blog.51cto.com/408495/1749723
Configuring the Cisco router Telnet login