用u盘恢复路由器的ios
2016-04-17 01:24
423 查看
思科部分路由器比如2800系列具有usb口,可以用2G以下优盘拷贝IOS,然后恢复系统,当然如果支持CF卡,用CF读卡器直接拷贝也可以。优盘步骤如下:
1. 用FAT16格式完全格式化优盘,然后用boot usbflash0:myfile进入路由器系统。
2. 用format 格式化flash闪存。
3. 执行下面的代码(从思科一个文档中摘抄的,个人认为拷贝配置文件那个可以省略,不过没试过)
copy usbflash1:myfile flash:
After you copy a software image to the Flash Disk, usethe following series of commands to make the image bootable (the filenamed new.image in
this example). The softwareimage in this example is located on the Flash Disk in PC Card slot 0. Note thatthe config-register command is also a part of thiscommand sequence
because you must set the configuration register to 0x2102 toenable loading an image from the Flash Disk.
System#
config terminal
System(config)#
no boot system
System(config)#
boot system flash:myfile
System(config)#
config-register 0x2102
Ctrl-Z
System#
copy system:running-config nvram:startup-config
System#
reload
1. 用FAT16格式完全格式化优盘,然后用boot usbflash0:myfile进入路由器系统。
2. 用format 格式化flash闪存。
3. 执行下面的代码(从思科一个文档中摘抄的,个人认为拷贝配置文件那个可以省略,不过没试过)
copy usbflash1:myfile flash:
After you copy a software image to the Flash Disk, usethe following series of commands to make the image bootable (the filenamed new.image in
this example). The softwareimage in this example is located on the Flash Disk in PC Card slot 0. Note thatthe config-register command is also a part of thiscommand sequence
because you must set the configuration register to 0x2102 toenable loading an image from the Flash Disk.
System#
config terminal
System(config)#
no boot system
System(config)#
boot system flash:myfile
System(config)#
config-register 0x2102
Ctrl-Z
System#
copy system:running-config nvram:startup-config
System#
reload
相关文章推荐
- IOS 退出程序代码
- iOS开发之Thrift的二进制数据编解码
- IOS开发之导航控制器原理
- iOS开发之手势交互
- 集成支付宝步骤总结
- IOS博客项目搭建-12-刷新数据-显示最新的微博数提示
- iOS开发总结之自定义非等高cell-xib(方法一)
- iOS多线程编程技术之NSThread、Cocoa NSOperation、GCD
- iOS开发总结之自定义非等高cell-storyboard
- iOS RunLoop 初识
- iOS开发第三发库引入--cocoapod的使用及问题解决
- iOS第三方框架集合
- iOS学习笔记31-从图册获取图片和视频
- iOS学习笔记31-从图册获取图片和视频
- iOS开发-常用第三方开源框架介绍(你了解的ios只是冰山一角)
- iOS MJRefresh下拉刷新 上拉加载(可添加gif图版) 小结
- 一个很好的仿微博消息浏览功能的Demo
- iOS App图标和启动画面尺寸
- iOS/mac开发的一些知名个人博客
- iOS开发小细节