Configure Telnet login for the switch
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/87/37/wKioL1fX9e3BpYkwAABVKcDarFg614.png-wh_500x0-wm_3 -wmp_4-s_1209456988.png "style=" Float:none; "title=" capture. PNG "alt=" Wkiol1fx9e3bpykwaabvkcdarfg614.png-wh_50 "/>
1, "Experimental purpose"
Learn how to enable telent on the switch, enabling remote access to the switch via Telnet.
2. "Background description"
When the Enterprise campus network coverage is large, the switch will be placed in different locations, if the switch is configured each time
Need to be configured onsite at the location of the switch, the workload of the Administrator will be large. This can be done on the switch
Telnet configuration, so that when you need to configure the switch, the administrator can log on remotely with Telnet configuration.
3. "Demand Analysis"
Need to know how to configure the password of the switch, and how to configure Telnet, to master telnet remote access
The method of asking the switch.
4, "Experimental equipment"
Two-layer switch 1 units; three-layer Switch 1 units
5, "Experimental principle"
Configure the IP address of VLAN 1 on both switches, and connect the F0/1 ports of the two switches with twisted-pair wires.
Configure Telnet Separately, and then you can log on to the other switch in telnet mode on each switch.
6, "Experimental Steps"
First step: Configure host name, manage IP address on both switches
S3760 (config) #hostname RRR
! Configuring the host name of a layer 3 switch
RRR (config) #interface vlan 1
! Configuring the Management IP address for Layer 3 switches
RRR (config-if) #ip address 192.168.1.1 255.255.255.0
RRR (config-if) #no shutdown
RRR (config-if) #end
s2126g (config) #hostname RR
! Configuring the host name of a layer 2 switch
RR (config) #interface vlan 1
! Configuring the Management IP address for Layer 2 switches
RR (config-if) #ip address 192.168.1.2 255.255.255.0
RR (config-if) #no shutdown
RR (config-if) #end
Step Two: Configure Telnet on the three-layer switch
RRR (config) #enable password 0 star
! Configure the Enable password
RRR (config) #line vty 0 4
! Enter thread configuration mode
RRR (Config-line) #password 0 Star
! Configure the password for Telnet
RRR (Config-line) #login
! User name password authentication with Telnet enabled
RRR (Config-line) #exit
Step Three: Configure Telnet on a Layer two switch
RR (config) #enable secret level 1 0 star
! Configure the password for Telnet, which is the level 1 password
RR (config) #enable secret 0 star
! Configure the Enable password, which is the level 15 password by default
Fourth Step: Telnet remotely
You can log on to Layer 2 switch L2-SW on the 3-tier switch RRR to verify that:
Rrr#telnet 192.168.1.2
Trying 192.168.1.2, 23 ...
User Access Verification
Password:
! Prompt for Telnet password, enter the password for the setting star
Rr>enable
Password:
! Prompt for the Enable password, enter the password for the setting star
rr#
! The two-layer switch RR is now available for normal configuration
rr#
Rr#exit
! Use the exit command to exit Telnet login
rrr#
You can log on to Layer 3 switch RRR on Layer 2 switch L2-SW to verify that:
Rr#telnet 192.168.1.1
Trying 192.168.1.1 ... Open
User Access Verification
Password:
! Prompt for Telnet password, enter the password for the setting star
rrr>en
Password:
! Prompt for the Enable password, enter the password for the setting star
rrr#
Rrr#exit
[Connection to 192.168.1.1 closed by foreign host]
! Use the exit command to exit Telnet login
rr#
"Note items"
If you do not configure the Enable password, you will not be able to log on to the switch for configuration and can enter user mode, but
Unable to enter privileged mode, the second-level switch is now prompted with "% No password Set", three-layer switching
Machine at this time the prompt message is "Password required, but none set".
7, "Specific implementation code"
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/87/3A/wKiom1fX9eyx0BQfAABjFRolbNs043.png-wh_500x0-wm_3 -wmp_4-s_3095244978.png "title=" 1.PNG "style=" Float:none; alt= "Wkiom1fx9eyx0bqfaabjfrolbns043.png-wh_50"/>
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/87/3A/wKiom1fX9e3wXSXdAABcocnoswI250.png-wh_500x0-wm_3 -wmp_4-s_116274999.png "title=" 2.PNG "style=" Float:none; alt= "Wkiom1fx9e3wxsxdaabcocnoswi250.png-wh_50"/>
This article is from "Sorry, your WiFi has been disconnected ~" blog, declined reprint!
Experiment One: Configure Telnet login for router/switch