溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點(diǎn)擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

cisco換機(jī)ISO備份和還原

發(fā)布時間:2020-08-05 14:02:26 來源:網(wǎng)絡(luò) 閱讀:458 作者:小小三郎1 欄目:建站服務(wù)器

cisco換機(jī)ISO備份和還原

sw1#copy  flassw1#copy  flash: tftp:
Source filename []?
sw1#show  flash                   #1
Directory of flash:/

1  -rw-     3058048          <no date>  c2950-i6q4l2-mz.121-22.EA4.bin

64016384 bytes total (60958336 bytes free)
sw1#co
sw1#copy
sw1#copy  fla
sw1#copy  flash: t
sw1#copy  flash: tftp:         #2 
Source filename []? c2950-i6q4l2-mz.121-22.EA4.bin  #3
Address or name of remote host []? 192.168.56.10
Destination filename [c2950-i6q4l2-mz.121-22.EA4.bin]? c2950-test.bin  #4

Writing c2950-i6q4l2-mz.121-22.EA4.bin...!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 3058048 bytes]

3058048 bytes copied in 0.052 secs (58808615 bytes/sec)
sw1#

cisco換機(jī)ISO備份和還原

可以看出cisco的交換機(jī)的鏡像備份成功

怎么還原呢??

sw1#copy   tftp:sw1#copy   tftp:
sw1#copy   tftp: ?
flash:          Copy to flash: file system
running-config  Copy configuration from system
startup-config  Copy startup configuration from system
sw1#copy   tftp: fl
sw1#copy   tftp: flash:
Address or name of remote host []? 192.168.56.10
Source filename []? c2950-test.bin
Destination filename [c2950-test.bin]?

Accessing tftp://192.168.56.10/c2950-test.bin...
Loading c2950-test.bin from 192.168.56.10: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 3058048 bytes]

3058048 bytes copied in 0.054 secs (56630518 bytes/sec)
sw1#show flash
Directory of flash:/

1  -rw-     3058048          <no date>  c2950-i6q4l2-mz.121-22.EA4.bin
2  -rw-     3058048          <no date>  c2950-test.bin

64016384 bytes total (57900288 bytes free)
sw1#

怎么從tftp服務(wù)器下載的
ISO啟動呢

  1. 刪除原有的文件

sw1#show  flashDirectory of flash:/

1  -rw-     3058048          <no date>  c2950-i6q4l2-mz.121-22.EA4.bin
2  -rw-     3058048          <no date>  c2950-test.bin

64016384 bytes total (57900288 bytes free)
sw1#dele
sw1#delete  c2950-i6q4l2-mz.121-22.EA4.bin
Delete filename [c2950-i6q4l2-mz.121-22.EA4.bin]?
Delete flash:/c2950-i6q4l2-mz.121-22.EA4.bin? [confirm]

sw1#show  flash
Directory of flash:/

2  -rw-     3058048          <no date>  c2950-test.bin

64016384 bytes total (60958336 bytes free)
sw1#

2.特權(quán)模式下

sw1(config)#boot system  c2950-test.bin

3.都不要忘記保存

測試:

sw1#reloadProceed with reload? [confirm]
C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1)
Compiled Mon 22-Jul-02 18:57 by miwang
Cisco WS-C2950-24 (RC32300) processor (revision C0) with 21039K bytes of memory.
2950-24 starting...
Base ethernet MAC Address: 0090.2187.E434
Xmodem file system is available.
Initializing Flash...
flashfs[0]: 2 files, 0 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 64016384
flashfs[0]: Bytes used: 3059209
flashfs[0]: Bytes available: 60957175
flashfs[0]: flashfs fsck took 1 seconds.
...done Initializing Flash.

Boot Sector Filesystem (bs:) installed, fsid: 3
Parameter Block Filesystem (pb:) installed, fsid: 4


Loading "flash:/c2950-test.bin"...



反思:交換機(jī)屬于二層設(shè)備,需要配置管理地址

 路由器屬于三層設(shè)備 有端口啟動就可以  

路由器的備份和恢復(fù)和交換機(jī)的命令一樣

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI