標籤:路由器配置
實驗目的:在交換器上配置Telnet。
實驗原理:在兩台路由器上配置VLAN和IP,用雙絞線把兩台路由器的連接埠串連起來,配置VLAN和IP,最後可以在這兩台路由器上中的任何一台上登入上另一台路由器。
實驗儀器:路由器兩台
實驗方法及步驟:
Router>enable ...................................進入路由器的特權模式
Router#configure terminal ................................進入路由器的全域配置模式
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface f0/0 ...............................進入路由器的f0/0連接埠
Router(config-if)#ip address 192.168.1.1 255.255.255.0 ...配置路由器f0/0連接埠的Ip地址
Router(config-if)#no shutdown .......................啟用f0/0連接埠
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#end ..............................退出配置模式
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#line vty 0 4 ...................進入路由器的VTY虛擬終端
Router(config-line)#password homechen
Router(config-line)#login .....................以上兩行配置VTY(即telent)的密碼
Router(config-line)#exit
Router(config)#enable password homechen ..............配置進入路由器特權模式的密碼
Router(config)#end
實驗記錄:
650) this.width=650;" src="http://s4.51cto.com/wyfs02/M01/88/7C/wKiom1f5m3STDCfpAACh1I0yK5A908.png-wh_500x0-wm_3-wmp_4-s_2251551644.png" title="捕獲1.PNG" alt="wKiom1f5m3STDCfpAACh1I0yK5A908.png-wh_50" />
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/88/78/wKioL1f5m4SzgCMZAAHuRFe6700313.png-wh_500x0-wm_3-wmp_4-s_2830097068.png" title="捕獲1.2.PNG" alt="wKioL1f5m4SzgCMZAAHuRFe6700313.png-wh_50" />
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/88/7C/wKiom1f5m5Oy3DyMAADwGauWDS4548.png-wh_500x0-wm_3-wmp_4-s_1777517847.png" title="捕獲1.3.PNG" alt="wKiom1f5m5Oy3DyMAADwGauWDS4548.png-wh_50" />
6.實驗結果:Telnet適合網路覆蓋面積大的路由與交換。
路由器配置Telnet