




已閱讀5頁(yè),還剩5頁(yè)未讀, 繼續(xù)免費(fèi)閱讀
版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
實(shí)訓(xùn)報(bào)告實(shí)訓(xùn)題目: 網(wǎng)絡(luò)設(shè)備安裝與調(diào)試設(shè)備院 系: 計(jì)算機(jī)學(xué)院 專 業(yè): 計(jì)算機(jī)網(wǎng)絡(luò) 班級(jí): ZK33701 學(xué) 號(hào): 2007544924 姓 名: 高 建 指導(dǎo)教師: 唐 錫 雷 實(shí)訓(xùn)地點(diǎn): J02 -506 開課時(shí)間: 2009 至 2010 學(xué)年第 2 學(xué)期重慶科創(chuàng)學(xué)院計(jì)算機(jī)學(xué)院 制2學(xué)生姓名 高 建 實(shí)訓(xùn)報(bào)告成績(jī) 評(píng)語(yǔ): 指導(dǎo)教師(簽名) 年 月 日實(shí)驗(yàn)1【實(shí)驗(yàn)名稱】從TFTP服務(wù)器恢復(fù)路由器配置【實(shí)驗(yàn)?zāi)康摹?能夠從TFTP服務(wù)器恢復(fù)路由器配置?!緦?shí)驗(yàn)功能】 使網(wǎng)絡(luò)管理員可以將已有的路由器配置恢復(fù)到路由器上。【背景描述】 假設(shè)某臺(tái)路由器的配置文件由于誤操作或其它某種原因被破壞了,現(xiàn)在需要從TFTP服務(wù)器上的備份配置文件中恢復(fù)。本實(shí)驗(yàn)以一臺(tái)R2624路由器為例,路由器命名為RouterA。一臺(tái)PC機(jī)通過(guò)串口(Com)連接到路由器的控制(Console)端口,通過(guò)網(wǎng)卡(NIC)連接到路由器的fastethernet0端口。假設(shè)PC機(jī)的IP地址和網(wǎng)絡(luò)掩碼分別為37,,路由器的fastethernet0端口的IP地址和網(wǎng)絡(luò)掩碼分別為38, ?!緦?shí)驗(yàn)拓?fù)洹?【實(shí)驗(yàn)設(shè)備】R2624(1臺(tái))【實(shí)驗(yàn)步驟】 第一步:在路由器上配置fastethernet0端口的IP地址RouterA(config)# interface fastethernet0 !進(jìn)入路由器接口配置模式RouterA(config)# ip address 38 !配置路由器管理接口IP地址RouterA(config)# no shutdown !開啟路由器fastethernet0接口驗(yàn)證測(cè)試:驗(yàn)證路由器接口fastethernet0的IP地址已經(jīng)配置和開啟,PC機(jī)與路由器有網(wǎng)絡(luò)連通性RouterA#show ip interface fastethernet0 !驗(yàn)證接口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 !驗(yàn)證路由器與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)前配置文件中 驗(yàn)證測(cè)試:驗(yàn)證路由器已經(jīng)更改為新的配置RouterA#show running-config ! 驗(yàn)證路由器的當(dāng)前配置文件為新的文件或RouterA#show startup-config ! 驗(yàn)證路由器的初始配置文件為新的文件!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【注意事項(xiàng)】在恢復(fù)配置到路由器上之前,須驗(yàn)證路由器與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實(shí)驗(yàn)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é)議。在一個(gè)自治系統(tǒng)內(nèi)部進(jìn)行路由選擇,而外部網(wǎng)關(guān)協(xié)議(如邊緣網(wǎng)關(guān)協(xié)議)是在兩個(gè)不同自治系統(tǒng)之間進(jìn)行路由選擇。RIP的最新增強(qiáng)版是RIP V2規(guī)范,允許RIP數(shù)據(jù)包包含更多的信息,RIP V2相對(duì)于RIP V1來(lái)說(shuō),可用于可變長(zhǎng)掩碼,同時(shí)收斂快。文檔見(jiàn)RFC1058,RFC1723。RIP使用廣播用戶數(shù)據(jù)協(xié)議(UDP)包來(lái)交換路由信息,當(dāng)網(wǎng)絡(luò)拓?fù)浒l(fā)生變化時(shí),RIP定時(shí)發(fā)送路由選擇更新消息。當(dāng)路由器收到的路由選擇更新消息時(shí),該路由器便修改其路由選擇表。路徑的計(jì)量值以1遞增,其發(fā)送者即為下一跳。RIP路由器只維持到達(dá)目的網(wǎng)段的最佳路由(即計(jì)量值最小的路由),修改路由選擇表后,路由器立即開始傳送路由選擇更新消息,以通知網(wǎng)絡(luò)中的其它路由器。RIP通過(guò)限制從原地址到目的地址路徑上的跳數(shù),有效地防止了路由選擇循環(huán)的無(wú)限延續(xù)。直接連接網(wǎng)絡(luò)的跳數(shù)為零,一個(gè)路徑的最大跳數(shù)是15。如果路由器收到了一個(gè)路由選擇更新消息,而其計(jì)量值為16,那么,該網(wǎng)絡(luò)的目的地址是不可到達(dá)的。小的取值范圍使RIP不適用于大型網(wǎng)絡(luò)。 2.1 相關(guān)命令功 能命 令啟動(dòng)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é)議支持路由包的過(guò)濾。2.2 舉例配置如下:ROUTEA:rip enable e0 ip add quit s0 encapsulate hdlc ip add map add 130.1.
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 高中一年級(jí)化學(xué)《氨 硝酸 硫酸》
- 記憶大師考試題及答案
- 基礎(chǔ)規(guī)則考試題及答案
- 機(jī)構(gòu)包車考試題及答案
- 校園暑期夏令營(yíng)課外培訓(xùn)宣傳工作匯報(bào)
- 銀行消防安全知識(shí)培訓(xùn)
- 培訓(xùn)競(jìng)品調(diào)研
- 中醫(yī)內(nèi)科耳鳴診療要點(diǎn)
- 踐行教育家精神實(shí)施路徑
- 倉(cāng)儲(chǔ)管理系統(tǒng)培訓(xùn)
- 2025至2030中國(guó)天然水晶手鐲行業(yè)商業(yè)模式及發(fā)展前景與投資報(bào)告
- 關(guān)于教育減負(fù)的議論文
- 2025至2030年中國(guó)側(cè)背光源行業(yè)投資前景及策略咨詢報(bào)告
- 2025至2030年中國(guó)叉車油缸行業(yè)市場(chǎng)發(fā)展調(diào)研及投資前景展望報(bào)告
- 汽車美容質(zhì)量管理制度
- 躁動(dòng)患者約束帶的使用及護(hù)理
- 第二屆全國(guó)化工和醫(yī)藥行業(yè)安全生產(chǎn)線上知識(shí)競(jìng)賽題庫(kù)(共150題)
- 云南省大理2025年八年級(jí)下學(xué)期語(yǔ)文期末模擬考試卷三套及答案
- 國(guó)家開放大學(xué)國(guó)開電大《統(tǒng)計(jì)與數(shù)據(jù)分析基礎(chǔ)》形考任務(wù)1-4 參考答案
- 風(fēng)電居間合同協(xié)議書
- 浙江開放大學(xué)2025年《社會(huì)保障學(xué)》形考任務(wù)4答案
評(píng)論
0/150
提交評(píng)論