Configuring Telnet logins for routers/switches

Source: Internet
Author: User

[Experiment name]

Configuring Telnet logins for routers/switches

[Experimental purpose]

Learn how to enable Telnet on the switch, enabling remote access to the switch via Telnet.

[Background description]

Enterprise Campus Network coverage is large, the switch will be placed in different locations, if each configuration switch to the location of the switch site configuration, the administrator's workload will be very large. The telnent configuration can be configured on the switch at this point, and when the switch needs to be configured at a later time, the administrator can telnet to the configuration remotely.

[Demand Analysis]

Need to know how to configure the password of the switch, and how to configure Telnet, Master Telnet remote access to the switch needs to know how to configure the switch password, and how to configure Telnet, the way to remotely access the switch telnet.

" Experimental Equipment "

Two layer switch 1 three layer switch 1 units

Basic configuration method of the " Preliminary knowledge " switch

" Experimental principle " Configure the IP address of VLAN 1 on two switches, connect the F0/1 port of two switches with twisted pair, configure Telnet Separately, then you can log on to another switch in telnet mode on each switch.

" Experimental Steps "

First step: Configure host name, manage IP address on both switches

S3760 (config) #hostname l3-sw! Configuring the host name of a layer 3 switch

L3-SW (config) #interface VLAN 1! Configuring the Management IP address for Layer 3 switches

L3-SW (config-if) #ip address 192.168.1.1 255.255.255.0

L3-SW (config-if) #no shutdown

L3-SW (config-if) #endS2126G (config) #hostname l2-sw! Configure host name L2-sw (config) #interface vlan 1 for layer 2 switches! Configuring the Management IP address for Layer 2 switches

L2-SW (config-if) #ip address 1.1.1.1 255.255.255.0

L2-SW (config-if) #no shutdownl2-sw (config-if) #end

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/87/38/wKiom1fXxzPRHQf8AABEG7KDUps414.png-wh_500x0-wm_3 -wmp_4-s_2784525968.png "title=" capture. PNG "alt=" Wkiom1fxxzprhqf8aabeg7kdups414.png-wh_50 "/>

Step Two: configure Telnet on the three-layer switch

L3-SW (config) #enable password 0 star! Configure the Enable password

L3-SW (config) #line vty 0 4! Enter thread configuration mode

L3-SW (Config-line) #password 0 star! Configure the password for Telnet

L3-SW (config-line) #login! User name password authentication with Telnet enabled

L3-SW (config-line) #exit650) this.width=650; "Src=" http://s2.51cto.com/wyfs02/M00/87/38/ Wkiom1fxx5wrgsr0aaaspjr7myw245.png-wh_500x0-wm_3-wmp_4-s_4174850126.png "title=" Capture 2. PNG "alt=" Wkiom1fxx5wrgsr0aaaspjr7myw245.png-wh_50 "/>


Step Three: configure Telnet on a Layer two switch

L2-SW (config) #enable secret level 1 0 star! Configure the password for Telnet, which is the level 1 password

L2-SW (config) #enable secret 0 star! Configure the Enable password, which is the level 15 password by default

Fourth step: telnet telnet can be used to log on to Layer 2 switch L2-SW on Layer 3 switch L3-SW for verification:

L3-sw#telnet 1.1.1.1

Trying 1.1.1.1, 23...User Access Verification

Password:

! Prompt for Telnet password, enter password for setting

Starl2-sw>enable

Password:

! Prompt for enable password, enter password for setting

starl2-sw#

! Has now entered the two layer switch L2-SW, can be configured properly

l2-sw#

L2-sw#exit

! Using the exit command to exit Telnet login l3-sw# can be authenticated by logging on to the Layer 3 switch L3-SW on Layer 2 switch L2-SW:

L2-sw#telnet 1.1.1.2

Trying 1.1.1.2 ... Openuser Access Verification

Password:

! Prompt for Telnet password, enter the password for the setting star

l3-sw>en

Password:

! Prompt for the Enable password, enter the password for the setting star

l3-sw#

L3-sw#exit

! Use the exit command to exit Telnet login l2-sw#





Need to connect the cable to the switch on another computer, set the IP address of another computer, log in with cmd telnet access




[Experimental summary]

Through this experiment, for the original network Mengmengdongdong I have a deeper understanding of the network, in the course of the experiment, produced a lot of problems, in the teacher's help, almost all solved, let me deeper understanding only own hands-on practice, to understand the principle of the deeper, Only fools to master more knowledge. Believe Qinnengbuzhuo, I will work harder in the future.



This article from "12038626" blog, declined reprint!

Configuring Telnet logins for routers/switches

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.