cisco packet tracer實(shí)驗(yàn)-cisco路由器的備份和恢複案例
Packet Tracer 是由Cisco公(gōng)司發布的一個輔(fǔ)助(zhù)學習工(gōng)具,為學習CCNA課程的網絡初學(xué)者去設計、配置、排除網絡故障提供了網絡模(mó)擬環境。學生可在軟件的(de)圖形用(yòng)戶界麵上直接使用拖曳方法建(jiàn)立網絡拓撲,軟件中實現的ioses子集允許(xǔ)學(xué)生配置設備;並可提供數據包在網絡中行進的詳(xiáng)細處理過程,觀察網絡實時運行情況。
1. 案例目標
通過本案例,你可以掌握如下技能:
1) 備份Cisco ioses
2) 恢(huī)複Cisco ioses
3) 備份啟動配置與運(yùn)行配置
4) 恢複啟動配置(zhì)與運行配置
思科路由器交換機模擬軟件(Cisco packet tracer) V5.3.0.0088 漢化最新版
2. 設備與拓撲
設備:1台 Laptop-PT,1台Server-PT ,1 台2811 路由器。
拓撲:如下(xià)圖。
3. 操作步驟
步驟1:按以上拓撲添加和連接設備。
步驟2:配置路由器與服務器(qì)的 IP 地址
Router#configure terminal
R1(config)#interface FastEthernet0/1
R1(config-if)#ip address 192.168.1.1 255.255.255.0
R1(config-if)#
注意(yì),服務器的 IP 地址可使(shǐ)用(yòng)IP 配置 進行配置,簡單快捷。
步驟3:驗證路由器與服務器之間的連通性
R1#ping 192.168.1.5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 31/31/32 ms
R1#
步驟(zhòu)4:查看路由器(qì) flash 中的Cisco ioses 鏡像
R1#sh flash:
System flash directory:
File Length Name/status
3 50938004 c2800nm-advipservicesk9-mz.124-15.T1.bin
2 28282 sigdef-category.xml
1 227537 sigdef-default.xml
[51193823 bytes used, 12822561 available, 64016384 total]
63488K bytes of processor board System flash (Read/Write)
R1#
//注意Cisco ioses 鏡像的大小與文件(jiàn)名
步驟5:備份Cisco ioses 到TFTP 服務器
R1#copy flash: tftp:
Source filename []? c2800nm-advipservicesk9-mz.124-15.T1.bin
Address or name of remote host []? 192.168.1.5 //TFTP 服務器地址
Destination filename [c2800nm-advipservicesk9-mz.124-15.T1.bin]?
Writing
c2800nm-advipservicesk9-mz.124-15.T1.bin…!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!…
……
[OK - 50938004 bytes]
50938004 bytes copied in 27.828 secs (1830000 bytes/sec)
R1#
步驟(zhòu)6:在TFTP 服(fú)務器上驗證備份
打開服務器的 配置 頁麵,單擊 TFTP 按鈕,可見右邊窗口已有備份
的Cisco ioses 鏡像。
步驟7:從TFTP 服(fú)務器恢複(升(shēng)級)Cisco ioses
假如TFTP 服務器上要(yào)想恢複或升級的 Cisco ioses 鏡像是:
c2800nm-ipbase-mz.123-14.T7.bin
R1#copy tftp: flash:
Address or name of remote host []? 192.168.1.5 //TFTP 服務器地址
Source filename []? c2800nm-ipbase-mz.123-14.T7.bin
Destination filename [c2800nm-ipbase-mz.123-14.T7.bin]?
Accessing tftp://192.168.1.5/c2800nm-ipbase-mz.123-14.T7.bin…
Loading c2800nm-ipbase-mz.123-14.T7.bin from
192.168.1.5: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 5571584 bytes]
5571584 bytes copied in 3.268 secs (390641 bytes/sec)
R1#
步驟8:驗(yàn)證恢(huī)複或升級
R1#sh flash:
System flash directory:
File Length Name/status
3 50938004 c2800nm-advipservicesk9-mz.124-15.T1.bin
6 5571584 c2800nm-ipbase-mz.123-14.T7.bin
2 28282 sigdef-category.xml
1 227537 sigdef-default.xml
[56765407 bytes used, 7250977 available, 64016384 total]
63488K bytes of processor board System flash (Read/Write)
R1#
步驟9:驗證(zhèng)NVRAM 中的啟動(dòng)配(pèi)置和運行配置
R1#dir nvram:
Directory of nvram:/
238 -rw- 490
490 bytes total (237588 bytes free)
R1#
//注意啟動配置的(de)文件名及其長(zhǎng)度。
R1#sh run
Building configuration…
Current configuration : 548 bytes //運行配置的長度(dù)
………
R1#
R1#sh start
Using 548 bytes //啟動配置的長度
!
version 12.3
………
R1#
步驟10:備份啟動配置與運行配置
1) 備(bèi)份啟動配置
R1#copy startup-config tftp:
Address or name of remote host []? 192.168.1.5
Destination filename [R1-confg]? www.wusoft.net r1startup
Writing startup-config…!!
[OK - 548 bytes]
548 bytes copied in 0.062 secs (8000 bytes/sec)
R1#
2) 備份運行配置
R1#copy running-config tftp:
Address or name of remote host []? 192.168.1.5
Destination filename [R1-confg]? www.wusoft.net r1run
Writing running-config…!!
[OK - 548 bytes]
548 bytes copied in 0.063 secs (8000 bytes/sec)
R1#
3) 在TFTP 服務器上驗證備份
打開服務(wù)器的配置 頁麵,單擊TFTP 按鈕,可見右邊窗口已有備份
的啟動和(hé)運行配置。
步(bù)驟11:恢複啟動配置(zhì)與運行配置
1) 恢複到啟動配置
R1#copy tftp: startup-config
Address or name of remote host []? 192.168.1.5
Source filename []? www.wusoft.net r1startup
Destination filename [startup-config]?
Accessing tftp://192.168.1.5/R1-startup-config…
Loading R1-startup-config from 192.168.1.5: !
[OK - 548 bytes]
548 bytes copied in 0.032 secs (17125 bytes/sec)
R1#
2) 恢複到運行配置
R1#copy tftp: running-config
Address or name of remote host []? 192.168.1.5
Source filename []? www.wusoft.net r1run
Destination filename [running-config]?
Accessing tftp://192.168.1.5/R1-running-config…
Loading R1-running-config from 192.168.1.5: !
[OK - 548 bytes]
548 bytes copied in 0.031 secs (17677 bytes/sec)
R1#
關鍵詞:cisco,cisco路由(yóu)器
閱讀本文後(hòu)您(nín)有什麽(me)感想? 已(yǐ)有 人給出評價!
- 42
- 3
- 0
- 1
- 0
- 0