路由器配置Telnet

  1. 實驗目的:在交換機上配置Telnet。

  2. 實驗原理:在兩臺路由器上配置VLAN和IP,用雙絞線把兩臺路由器的端口連接起來,配置VLAN和IP,最後可以在這兩臺路由器上中的任何一臺上登錄上另一臺路由器。

  3. 實驗儀器:路由器兩臺

  4. 實驗方法及步驟:

    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

  5. 實驗記錄:

wKiom1f5m3STDCfpAACh1I0yK5A908.png-wh_50

wKioL1f5m4SzgCMZAAHuRFe6700313.png-wh_50

wKiom1f5m5Oy3DyMAADwGauWDS4548.png-wh_50

6.實驗結果:Telnet適合網絡覆蓋面積大的路由與交換。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章