1. 程式人生 > >在Packet Tracer中交換機的Telnet遠程登陸配置

在Packet Tracer中交換機的Telnet遠程登陸配置

交換機 Telnet

實驗目標:


<1>掌握采用Telnet方式配置交換機的方法。

技術原理:


<1>配置交換機的管理ip地址,為telnet用戶配置用戶名和登錄口令。

<2>交換機、路由器中有很多密碼,設置對這些密碼可以有效的提高設備的安全性

<3>switch(config)#enable password xxx 進入特權模式的密碼

switch(config-line)# 可以設置console口和vty遠程登陸密碼

switch(consfig)#enable password 123123

switch(config)#line console 0

switch(config-line)#password 112233

switch(config-line)#login

switch(config)#line vty 0 4

switch(config-line)#password 1234

switch(config-line)#login


實驗步驟:


如圖新建Packet Tracer拓撲圖

技術分享圖片


打開pc1設置好ip地址如圖所示

技術分享圖片



打開PC的Terminal 輸入命令


en

conf t

inter vlan 1

ip address 192.168.1.1 255.255.255.0

no shutdown

exit

enable password 123123

line vty 0 4

password 112233

login

end

show run

技術分享圖片


打開PC CMD


ping 192.168.1.1

telnet 192.168.1.1

password:112233

password:123123 (進入enable)

show runing

技術分享圖片

在Packet Tracer中交換機的Telnet遠程登陸配置