Experiment one configure Telnet on the router

Source: Internet
Author: User

"Experiment Name"

Configure Telnet on the router.

"Experimental Purpose"

Learn how to configure Telnet on a router to enable remote login access to the router.

"Background description"

When routers are used to connect multiple subnets, the placement is usually far apart, and it is more difficult to see and modify the configuration.

At this point, if you can telnet to the router to operate, you will be able to significantly reduce the workload of administrators.

"Demand Analysis"

Need to know how to configure the password for the router, how to configure the Telnet service, and how to Telnet

The method by which the router operates.

"Experimental Topology"

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/87/68/wKiom1ffWUTwm1DbAACPlPzcHwU413.png-wh_500x0-wm_3 -wmp_4-s_1442352722.png "title=" capture. PNG "alt=" Wkiom1ffwutwm1dbaacplpzchwu413.png-wh_50 "/>

"Experimental Equipment"

Router (with serial port) 2 units

v.35 Dce/dte Cable 1 Pair

"Pre-knowledge"

How routers work and basic configuration methods

"Experimental principle"

Connect two routers via serial port to v.35 DTE/DCE cable, configure Telnet separately to

Log in to each other with a Telnet method.

The router provides a WAN interface (serial high-speed synchronous serial port) that connects the WAN interface link with the v.35 cable.

On a WAN connection, one end is DCE (data communication device) and one end is DTE (data terminal device). Requirements must be in

The DCE terminal configures the clock rate to ensure link connectivity.

"Experimental Steps"

First step: Configure the router's name, interface IP address

R3740#configure Terminal

Enter configuration commands, one per line. End with cntl/z.

R3740 (config) #hostname RouterA

RouterA (config) #int fa 0/1

RouterA (config-if) #ip address 192.168.1.2 255.255.255.0

RouterA (config-if) #no shutdown

RouterA (config-if) #exit


Step Two: Configure Telnet

RouterA (config) #enable password Ruijie

RouterA (config) #line vty 0 4

RouterA (Config-line) #password star

RouterA (Config-line) #login

RouterA (Config-line) #end


Step three: Test network connectivity and log in to the router in Telnet mode

Routerb#ping 192.168.1.1

Sending 5, 100-byte ICMP echoes to 192.168.1.1, timeout is 2 seconds:

< Press CTRL + C to break >

!!!!!

Success rate is percent (5/5), round-trip Min/avg/max = 1/2/10 ms

Routerb#telnet 192.168.1.1

Trying 192.168.1.1, 23 ...

User Access Verification

Password:

! Prompt for Telnet password, enter Ruijie here

routera>en

Password:

! Prompt for privileged mode password, enter star here

Routera#en

! Telnet to router A for configuration

routera#

Routera#conf T

Enter configuration commands, one per line. End with cntl/z.

RouterA (config) #exit

routera#

routera#

Routera#exit

! Use the exit command to exit Telnet login

"Experimental Results"

1, set the IP on the computer

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/87/69/wKiom1ffXcrQ2KDPAAN5xqtH2pQ052.jpg-wh_500x0-wm_3 -wmp_4-s_748563383.jpg "title=" 111.jpg "alt=" Wkiom1ffxcrq2kdpaan5xqth2pq052.jpg-wh_50 "/>

2, ping1.1.1.1

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M00/87/65/wKioL1ffXhDCMa47AADDMasbwtc499.jpg-wh_500x0-wm_3 -wmp_4-s_1092978204.jpg "title=" 222.jpg "alt=" Wkiol1ffxhdcma47aaddmasbwtc499.jpg-wh_50 "/>

3. Telnet Login

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/87/65/wKioL1ffXjzSQQqYAACWnkvr6qg574.jpg-wh_500x0-wm_3 -wmp_4-s_776335709.jpg "title=" 333.jpg "alt=" Wkiol1ffxjzsqqqyaacwnkvr6qg574.jpg-wh_50 "/>

Experiment one configures Telnet on the router

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.