假如你不小心使用了指令erase flash 那么发作啥就可想而知了。因而,主张在你拿到路由器等网络设备时
最好先将它的IOS等操作体系备份出来,以备如果!
本篇首要介绍经过Xmodem上载IOS的进程(以2610为例,不过这个办法用在其他设备上没啥太大差异)
准备工作,只需有Cisco原配的线缆就可以(注:Xmodem与实践的modem没有任何联络
仅仅一个传输协议
数据是经过终端的串口和路由器的Console口灌进去的)
在没有IOS的情况下
体系只能进入Rommon状况,在这个状况下只能见到如下指令:
rommon 8 > ?
alias set and display aliases command
boot boot up an external process
break set/show/clear the breakpoint
confreg configuration register utility
cont continue executing a downloaded image
context display the context of a loaded image
cookie display contents of cookie PROM in hex
dev list the device table
dir list files in file system
dis display instruction stream
dnld serial download a program module
frame print out a selected stack frame
help monitor builtin command help
history monitor command history
meminfo main memory information
repeat repeat a monitor command
reset system reset
set display the monitor variables
stack produce a stack trace
sync write monitor environment to NVRAM
sysret print out info from last system return
tftpdnld tftp image download
unalias unset an alias
unset unset a monitor variable
xmodem x/ymodem image download
在这个形式下,输入Xmodem
rommon 9 > xmodem
会提示如下正告:
WARNING: All existing data in bootflash will be lost!
Invoke this application only for disaster recovery.
Do you wish to continue? y/n [n]: y
Ready to receive file ? ...