![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR_jGjtR3DpsmVqPqjQX995-Ztd3mtqaWAgz9VrFLzg9E7K61g9uGd-pn5oHnFvz6hofs4XqtXH2n8e2Q8foafubOvrueyfBN_X5wqbYoWqTMQDap1XwmKM3MRjBBj37sFxN1C5doR3gcu/s200/IMAG0170.jpg)
恢復IOS步驟如下:
一、利用Copy指令,把IOS檔從Console傳到flash裡
switch: copy xmodem: flash:c3550-ipservicesk9-mz.122-25.seb4.bin
出現ccc等待提示後,選好要上傳的IOS檔後,利用Console傳送,要等上一段時間(這次等了快一個半鐘頭才傳完)
Begin the Xmodem or Xmodem-1K transfer now...
CCC....................................................................................................................................
File "xmodem:" successfully copied to "flash:c3550-ipservicesk9-mz.122-25.seb4.bin"
二、利用set指令,設定BOOT開機讀取IOS的路徑
switch: set BOOT flash:c3550-ipservicesk9-mz.122-25.seb4.bin
設定好路徑後,再下boot來測試IOS檔是否可以正常Run
switch: boot
Loading "flash:c3550-ipservicesk9-mz.122-25.seb4.bin"...########################################################
##########################################################################
File "flash:c3550-ipservicesk9-mz.122-25.seb4.bin" uncompressed and installed, entry point: 0x3000
executing...
三、確認可以成功開機後,可再重新設定相關的config存檔後,重開設備即可
救援模式下的一些相關指令
switch: ?
? -- Present list of available commands
boot -- Load and boot an executable image
cat -- Concatenate (type) file(s)
copy -- Copy a file
delete -- Delete file(s)
dir -- List files in directories
flash_init -- Initialize flash filesystem(s)
format -- Format a filesystem
fsck -- Check filesystem consistency
help -- Present list of available commands
load_helper -- Load and initialize a helper image
memory -- Present memory heap utilization information
mkdir -- Create dir(s)
more -- Concatenate (display) file(s)
rename -- Rename a file
reset -- Reset the system
rmdir -- Delete empty dir(s)
set -- Set or display environment variables
set_param -- Set system parameters in flash
sleep -- Pause (sleep) for a specified number of seconds
trap -- Cause a software breakpoint to occur
-- MORE --
type -- Concatenate (type) file(s)
unset -- Unset one or more environment variables
version -- Display boot loader version
0 回應:
張貼留言