網(wǎng)絡(luò)設(shè)備安裝與調(diào)試畢業(yè)設(shè)計.doc_第1頁
網(wǎng)絡(luò)設(shè)備安裝與調(diào)試畢業(yè)設(shè)計.doc_第2頁
網(wǎng)絡(luò)設(shè)備安裝與調(diào)試畢業(yè)設(shè)計.doc_第3頁
網(wǎng)絡(luò)設(shè)備安裝與調(diào)試畢業(yè)設(shè)計.doc_第4頁
網(wǎng)絡(luò)設(shè)備安裝與調(diào)試畢業(yè)設(shè)計.doc_第5頁
已閱讀5頁,還剩5頁未讀 繼續(xù)免費(fèi)閱讀

付費(fèi)下載

下載本文檔

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

文檔簡介

實訓(xùn)報告實訓(xùn)題目: 網(wǎng)絡(luò)設(shè)備安裝與調(diào)試設(shè)備院 系: 計算機(jī)學(xué)院 專 業(yè): 計算機(jī)網(wǎng)絡(luò) 班級: ZK33701 學(xué) 號: 2007544924 姓 名: 高 建 指導(dǎo)教師: 唐 錫 雷 實訓(xùn)地點: J02 -506 開課時間: 2009 至 2010 學(xué)年第 2 學(xué)期重慶科創(chuàng)學(xué)院計算機(jī)學(xué)院 制2學(xué)生姓名 高 建 實訓(xùn)報告成績 評語: 指導(dǎo)教師(簽名) 年 月 日實驗1【實驗名稱】從TFTP服務(wù)器恢復(fù)路由器配置【實驗?zāi)康摹?能夠從TFTP服務(wù)器恢復(fù)路由器配置?!緦嶒灩δ堋?使網(wǎng)絡(luò)管理員可以將已有的路由器配置恢復(fù)到路由器上?!颈尘懊枋觥?假設(shè)某臺路由器的配置文件由于誤操作或其它某種原因被破壞了,現(xiàn)在需要從TFTP服務(wù)器上的備份配置文件中恢復(fù)。本實驗以一臺R2624路由器為例,路由器命名為RouterA。一臺PC機(jī)通過串口(Com)連接到路由器的控制(Console)端口,通過網(wǎng)卡(NIC)連接到路由器的fastethernet0端口。假設(shè)PC機(jī)的IP地址和網(wǎng)絡(luò)掩碼分別為37,,路由器的fastethernet0端口的IP地址和網(wǎng)絡(luò)掩碼分別為38, ?!緦嶒炌?fù)洹?【實驗設(shè)備】R2624(1臺)【實驗步驟】 第一步:在路由器上配置fastethernet0端口的IP地址RouterA(config)# interface fastethernet0 !進(jìn)入路由器接口配置模式RouterA(config)# ip address 38 !配置路由器管理接口IP地址RouterA(config)# no shutdown !開啟路由器fastethernet0接口驗證測試:驗證路由器接口fastethernet0的IP地址已經(jīng)配置和開啟,PC機(jī)與路由器有網(wǎng)絡(luò)連通性RouterA#show ip interface fastethernet0 !驗證接口fastethernet0的IP地址已經(jīng)配置和開啟FastEthernet0 is up, line protocol is up Internet address is 38/24 Broadcast address is 55 Address determined by setup command MTU is 1500 bytes Helper address is not set Directed broadcast forwarding is disabled Outgoing access list is not set Inbound access list is not set Proxy ARP is enabled Security level is default Split horizon is enabled ICMP redirects are always sent ICMP unreachables are always sent ICMP mask replies are never sent IP fast switching is enabled IP fast switching on the same interface is disabled IP multicast fast switching is enabled Router Discovery is disabled IP output packet accounting is disabled IP access violation accounting is disabled TCP/IP header compression is disabled Policy routing is disabled或RouterA#show ip interface briefInterface IP-Address OK? Method Status ProtocolFastEthernet0 38 YES manual up upFastEthernet1 unassigned YES unset administratively down downFastEthernet2 unassigned YES unset administratively down downFastEthernet3 unassigned YES unset administratively down downSerial0 unassigned YES unset administratively down downSerial1 unassigned YES unset administratively down downRouterA#ping 37 !驗證路由器與PC機(jī)具有網(wǎng)絡(luò)連通性Type escape sequence to abort.Sending 5, 100-byte ICMP Echoes to 37, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms第二步:恢復(fù)路由器配置RouterA#copy tftp running-config ! 恢復(fù)配置到路由器的當(dāng)前配置文件中Address of remote host 55? 37 !按提示輸入TFTP服務(wù)器的IP地址Name of configuration file routera-confg? !選擇輸入配置文件名Configure using routera-confg from 37? confirmLoading routera-confg from 37 (via FastEthernet0): !OK - 608/32727 bytesRouterA#copy running-config startup-config ! 保存路由器的當(dāng)前配置文件或RouterA#copy tftp startup-config ! 恢復(fù)配置到路由器的初始配置文件中Address of remote host 37?Name of configuration file routera-confg?Configure using routera-confg from 37? confirmLoading routera-confg from 37 (via FastEthernet0): !OK - 608/32727 bytesOKRouterA# copy startup-config running-config ! 將初始配置文件拷貝到路由器的當(dāng)前配置文件中 驗證測試:驗證路由器已經(jīng)更改為新的配置RouterA#show running-config ! 驗證路由器的當(dāng)前配置文件為新的文件或RouterA#show startup-config ! 驗證路由器的初始配置文件為新的文件!o!einterface FastEthernet0oice-port 2 ip address 38 s line con 0 l!einterface FastEthernet1 line vty 0 4 ip address 38 login end RouterA#show r shutdown !uinterface FastEthernet2 no ip erface Serial1 no ip address shutdownvoice-port 0voice-port 1voice-port 2voice-port 3ip classlessline con 0line 1 8line aux 0line vty 0 4 password star loginend【注意事項】在恢復(fù)配置到路由器上之前,須驗證路由器與PC機(jī)(TFTP Server)具有網(wǎng)絡(luò)連通性?!緟⒖寂渲谩縍outerA #show running-configCurrent configuration: Building configur!iversion 6.14(2) !Khostname RouterA Router!cenable secret 5 $1$J.MN$6eZyYdYsJMhhEUdtT3ZXG0 terminal Enter confenable password starne per line. End wi!T!Zip subnet-zero interface FastEthernet0RouterA(config)#int ip address 38 ce fa Route!(interface FastEthernet1hernet 0 ip address 38 -if)#ip addr shutdownnfig-if)# interface FastEthernet no ip address shutdown interface Serial1 no ip address shutdownvoice-port 0voice-port 1voice-port 2voice-port 3ip classlessline con 0line 1 8line aux 0line vty 0 4 password star loginend8實驗2路由選擇信息協(xié)議(Routing Information Protocol),縮寫為RIP,是應(yīng)用較早的、目前仍普遍使用的內(nèi)部網(wǎng)關(guān)協(xié)議(Interior Gateway Protocol,縮寫為IGP),該協(xié)議是為了運(yùn)用于小型同類網(wǎng)絡(luò)而創(chuàng)立的,是一種古典的距離矢量協(xié)議。在一個自治系統(tǒng)內(nèi)部進(jìn)行路由選擇,而外部網(wǎng)關(guān)協(xié)議(如邊緣網(wǎng)關(guān)協(xié)議)是在兩個不同自治系統(tǒng)之間進(jìn)行路由選擇。RIP的最新增強(qiáng)版是RIP V2規(guī)范,允許RIP數(shù)據(jù)包包含更多的信息,RIP V2相對于RIP V1來說,可用于可變長掩碼,同時收斂快。文檔見RFC1058,RFC1723。RIP使用廣播用戶數(shù)據(jù)協(xié)議(UDP)包來交換路由信息,當(dāng)網(wǎng)絡(luò)拓?fù)浒l(fā)生變化時,RIP定時發(fā)送路由選擇更新消息。當(dāng)路由器收到的路由選擇更新消息時,該路由器便修改其路由選擇表。路徑的計量值以1遞增,其發(fā)送者即為下一跳。RIP路由器只維持到達(dá)目的網(wǎng)段的最佳路由(即計量值最小的路由),修改路由選擇表后,路由器立即開始傳送路由選擇更新消息,以通知網(wǎng)絡(luò)中的其它路由器。RIP通過限制從原地址到目的地址路徑上的跳數(shù),有效地防止了路由選擇循環(huán)的無限延續(xù)。直接連接網(wǎng)絡(luò)的跳數(shù)為零,一個路徑的最大跳數(shù)是15。如果路由器收到了一個路由選擇更新消息,而其計量值為16,那么,該網(wǎng)絡(luò)的目的地址是不可到達(dá)的。小的取值范圍使RIP不適用于大型網(wǎng)絡(luò)。 2.1 相關(guān)命令功 能命 令啟動RIP協(xié)議rip enable指定RIP協(xié)議的版本&rip version 1|2指定使用RIP的網(wǎng)絡(luò)rip network add|del network_address指定RIP轉(zhuǎn)發(fā)的路由rip redistribute connected|ospf|static|none顯示RIP狀態(tài)show rip network注:路由器的RIP協(xié)議支持路由包的過濾。2.2 舉例配置如下:ROUTEA:rip enable e0 ip add quit s0 encapsulate hdlc ip add map add 130.1.

溫馨提示

  • 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)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論