第3單元:實訓(xùn)-路由器訪問與配置_第1頁
第3單元:實訓(xùn)-路由器訪問與配置_第2頁
第3單元:實訓(xùn)-路由器訪問與配置_第3頁
第3單元:實訓(xùn)-路由器訪問與配置_第4頁
第3單元:實訓(xùn)-路由器訪問與配置_第5頁
已閱讀5頁,還剩7頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

1、實訓(xùn):路由器訪問與配置實訓(xùn)目的要求學(xué)生掌握從PC機上直接和遠程訪問路由器的基本方法,掌握路由器的基本配置和使用方法,掌握路由器幫助系統(tǒng)的使用方法,理解路由器的啟動順序。內(nèi)容要求(1)連接路由器和PC機,通過Console口訪問路由器要求:掌握計算機串口和路由器Console口的連接方法,使用超級終端配置路由器的方法。(2)通過Telnet訪問路由器要求:掌握配置路由器以太網(wǎng)接口IP地址以及密碼的技能,能夠通過Telnet訪問路由器。(3)CLI的使用與IOS基本命令要求:熟悉CLI的各種命令模式、幫助系統(tǒng),掌握IOS基本命令,能夠使用相關(guān)命令查看路由器有關(guān)信息。實驗材料(1)所用設(shè)備:路由器、

2、PC機、網(wǎng)線(2)消耗性器材:無實 訓(xùn) 數(shù) 據(jù) 記 錄 一、實驗場景描述(也可自行設(shè)計)假設(shè)你是某公司新來的網(wǎng)絡(luò)管理員,公司要求熟悉網(wǎng)絡(luò)產(chǎn)品,首先要求你登錄路由器,了解、掌握路由器的命令行操作。同時作為網(wǎng)管,你第一次在設(shè)備機房對路由器進行了初次配置后,希望以后再辦公司或出差時也可以對設(shè)備進行遠程管理,現(xiàn)在要在路由器上做適當(dāng)?shù)呐渲?。二、實驗命令三、網(wǎng)絡(luò)拓撲圖及描述四、實驗步驟步驟及簡述:路由器基本配置(一):實驗拓補圖1、用標(biāo)準(zhǔn)console線纜連接計算機的串口和路由器的console口,在計算機上啟用超級終端,并配置超級終端的參數(shù),使計算機與路由器通過console口建立連接;2、配置路由器的

3、管理IP地址,并為telnet用戶配置用戶名和登錄口令。配置計算機的IP地址(與路由器管理IP地址在同一個網(wǎng)段),通過網(wǎng)線將計算機和路由器相連,通過計算機telnet到路由器上進行查看配置;3、更改路由器的主機名;4、擦除配置信息、保存配置信息、顯示配置信息;5、顯示當(dāng)前配置信息;6、顯示歷史命令:RouterenRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#interface fa0/0Router(config-if)#no shutdow /路由器端口默認關(guān)閉

4、,開啟fa0/0端口%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upRouter(config-if)#exitRouter(config)#hostname R1 /修改路由器主機名R1(config)#enable password /設(shè)置進入特權(quán)模式密碼 R1(config)#line vty 0 4R1(config-line)#passwor

5、d abc123 /設(shè)置telnet遠程登錄密碼R1(config-line)#loginR1(config-line)#exitR1(config)#interface fa0/0R1(config-if)#ip address 192.168.1.1% Incomplete command.R1(config-if)#ip address 192.168.1.1 255.255.255.0 /配置路由器的管理IP地址R1(config-if)#no shutdown /開啟端口R1(config-if)#end%SYS-5-CONFIG_I: Configured from console

6、 by consoleR1#PC端登錄測試: 2 1、驗證進入特權(quán)模式的密碼 Switchen Password: 2、驗證telnet遠程登錄密碼 a. 給PC機設(shè)置IP地址 b、打開Command Prompt路由器基本配置二:拓補結(jié)構(gòu)圖 1、用標(biāo)準(zhǔn)console線纜連接計算機1的串口和路由器的console口,用交叉線連接計算機2的fastetrernet和路由器的fastethernet 0/0口,用V.3.5線纜連接來個路由器的serial 2/0接口。2、分別兩個配置路由器的管理IP地址,并為telnet用戶配置用戶名和登錄口令。配置計算機的IP地址,通過網(wǎng)線將計算機和路由器相連,

7、通過計算機telnet到路由器上進行查看配置。3、將兩個路由器的主機名分別更改為RA和RB。4、顯示當(dāng)前配置信息。5、配置路由器的遠程密碼。6、顯示歷史命令: RouterenRouter#config tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname RARA(config)#interface fastethernet 0/0RA(config-if)#ip address 192.168.1.1 255.255.255.0RA(config-if)#no shutdow

8、n%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upRA(config-if)#exitRA(config)#interface fastethernet 1/0RA(config-if)#ip address 10.10.1.1 255.255.255.0RA(config-if)#no shutdown%LINK-5-CHANGED: Interfa

9、ce FastEthernet1/0, changed state to upRA(config-if)#exitRA(config)#inerface serial 2/0 % Invalid input detected at marker.RA(config)#interface serial 2/0RA(config-if)#ip address 172.159.1.1 255.255.255.0RA(config-if)#clock rate 64000RA(config-if)#no shutdown%LINK-5-CHANGED: Interface Serial2/0, cha

10、nged state to downRA(config-if)#exitRA(config)#line vty 0 4RA(config-line)#password starRA(config-line)#loginRA(config-line)#endRA#%SYS-5-CONFIG_I: Configured from console by consoleRA#enRA#config tEnter configuration commands, one per line. End with CNTL/Z.RA(config)#enable secret abcRA(config)#ena

11、ble password starRA(config)#exitRA#%SYS-5-CONFIG_I: Configured from console by consoleRA#show ip interface briefInterface IP-Address OK? Method Status Protocol FastEthernet0/0 192.168.1.1 YES manual up up FastEthernet1/0 10.10.1.1 YES manual up down Serial2/0 172.159.1.1 YES manual down down Serial3

12、/0 unassigned YES unset administratively down down FastEthernet4/0 unassigned YES unset administratively down down FastEthernet5/0 unassigned YES unset administratively down downRA#RouterenRouter#config tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#hostname RBRB(config)

13、#interface fastethernet 0/0RB(config-if)#ip address 192.168.1.2 255.255.255.0RB(config-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upRB(config-if)#exitRB(config)#interface serial 2/0RB

14、(config-if)#ip address 192.168.3.1 255.255.255.0RB(config-if)#no shutdown%LINK-5-CHANGED: Interface Serial2/0, changed state to upRB(config-if)#exitRB(config)#%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to upRB(config)#endRB#%SYS-5-CONFIG_I: Configured from console by co

15、nsoleRB#show ip interface briefInterface IP-Address OK? Method Status Protocol FastEthernet0/0 192.168.1.2 YES manual up up FastEthernet1/0 unassigned YES unset administratively down down Serial2/0 192.168.3.1 YES manual up up Serial3/0 unassigned YES unset administratively down down FastEthernet4/0 unassigned YES unset administratively down down FastEthernet5/0 unassigned YES unset administratively down down RB#1、驗證進入特權(quán)模式的密碼 Switchen Password: 2、驗證telnet遠程登錄密碼 a. 給PC機設(shè)置IP地址 b、打開Command Prompt伍、實驗總結(jié)通過這次的實驗,對路由器有了更進一步的了解。了解了路由器的基本設(shè)置方式,常用命令,以及怎樣在路由

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論