實驗一:配置路由器的Telnet登陸

實驗一:配置路由器的Telnet登陸網絡

 

 

1.準備工做:ide

   (1)開始 --> 控制面板 --> 程序 --> 程序和功能 --> 打開或關閉Windows功能 --> 勾選Telnet客戶端測試

   (2)開始 --> 運行程序:cmd --> telnet 172.28.15.104 2002(2002中的最後一個數字表明網頁172.28.15.104:8080中路由器或交換機的位置)ui

 

2.配置路由器的Telnet登陸:spa

   (1)配置路由器的名稱和接口IP地址:接口

wKioL1fe***w6MVpAAAx2eMP6dU009.png-wh_50

   

   

   2)配置Telnet圖片

RouterA(config)#enable password ruijieip

RouterA(config)#line vty 0 4路由

RouterA(config-line)#password star get

RouterA(config-line)#login

RouterA(config-line)#end

RouterB(config)#enable password ruijie

RouterB(config)#line vty 0 4

RouterB(config-line)#password star

RouterB(config-line)#login

RouterB(config-line)#end

 

   

   (3)測試網絡連通性(在與機櫃連線的PC機上)

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 100 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:

!提示輸入 Telnet 密碼,此處輸入 ruijie

RouterA>en

Password:

!提示輸入特權模式密碼,此處輸入 star

RouterA#en

RouterA#conf t

Enter configuration commands, one per line. End with CNTL/Z.

RouterA(config)#exit

RouterA#exit

RouterA#ping 192.168.1.2

Sending 5, 100-byte ICMP Echoes to 192.168.1.2, timeout is 2 seconds:

< press Ctrl+C to break >

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/4/10 ms

RouterA#telnet 192.168.1.2

Trying 192.168.1.2, 23...

User Access Verification

Password:

RouterB>en

Password:

RouterB#conf t

 

Enter configuration commands, one per line.End with CNTL/Z.

RouterB(config)#exit

RouterB#exit

 

3.總結

     配置路由器的Telnet登陸其實不算太難,由於指令比較單一,可是仍是有一些小細節  確實值得咱們注意。首先,咱們要注意在控制面板打開Telnet客戶端,否則可能登陸不上Telnet。其次,配置Telnet只須要輸入指令,可是測試連通性要在與機櫃連線的指定PC機上進行指令輸入。最後,注意設置登陸密碼時,必定要輸入指令login激活密碼。通常只要將這些細節處理好就能成功的配置路由器的Telnet登陸。

相關文章
相關標籤/搜索