cisco 2600 ios误删除后恢复(tftp)
来源:百度文库 编辑:神马文学网 时间:2024/04/30 10:30:28
2008年11月28日 星期五 15:18
cisco 2600 ios误删除后恢复(tftp)
今天找来一台cisco2600想做个实验。本来想先把老的配置保存,没想到我竟然误把ios给删除了。
实在找不到2610的ISO了,结果用2620灌的,可以正常使用。
r7#copy startup-config x.cfg
Destination filename [x.cfg]?
Erase flash: before copying? [confirm]n
Verifying checksum... OK (0x1376)
1248 bytes copied in 0.232 secs
r7#dir
Directory of flash:/
1 -rw- 4467540 c2600-c-mz.121-9.bin
2 -rw- 1248 x.cfg
8388608 bytes total (3919692 bytes free)
注意看红色字体,这是我恢复ios后的保存startup-config的步骤。因为当时没注意,直接回车了,造成ios被删除 ,正确的方法是 输入"n”,切记啊!!!
恢复开始,首先找个12.1的ios,
网址:http://www.net130.com/CMS/Pub/soft/soft_ios/2005_06_22_8294.htm
将路由器eth0口与笔记本用交叉线连接,通过concle口登录路由器,设置tftp的环境
rommon 1 >IP_ADDRESS=192.168.1.2 //默认为路由器第一个以太网接口的ip
rommon 2 >IP_SUBNET_MASK=255.255.255.0 //设置路由器以太网接口的子网掩码
rommon 3 >DEFAULT_GATEWAY=192.168.1.1 //设置网关,否则tftp无法成功
rommon 4 >TFTP_SERVER=192.168.1.104 //设置笔记本ip,即为tftp server的ip
rommon 5 >TFTP_FILE=c2600-c-mz.121-9.bin //设置路由器要下载的ios文件名
rommon 6 > set //设置tftp完环境后,可以用set命令再检查一下,也可以略过
PS1=rommon ! >
RET_2_RTS=
IP_ADDRESS=192.168.1.2
IP_SUBNET_MASK=255.255.255.0
DEFAULT_GATEWAY=192.168.1.1
TFTP_SERVER=192.168.1.104
TFTP_FILE=c2600-c-mz.121-9.bin
rommon 7 > tftpdnld //核对无误后,开始tftp
IP_ADDRESS: 192.168.1.2
IP_SUBNET_MASK: 255.255.255.0
DEFAULT_GATEWAY: 192.168.1.1
TFTP_SERVER: 192.168.1.104
TFTP_FILE: c2600-c-mz.121-9.bin
Invoke this command for disaster recovery only.
WARNING: all existing # in all partitions on flash will be lost!
Do you wish to continue? y/n: [n]: y
Receiving c2600-c-mz.121-9.bin from 192.168.1.104
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
File reception completed.
Copying file c2600-c-mz.121-9.bin to flash.
Erasing flash at 0x607c0000
program flash location 0x60120000
rommon 8 > confreg //下载ios完毕后,还需设置寄存器的值
Configuration Summary
enabled are:
load rom after netboot fails
console baud: 9600
boot: image specified by the boot system commands
or default to: cisco2-C2600
do you wish to change the configuration? y/n [n]: y //要选择“y”
enable "diagnostic mode"? y/n [n]: n
enable "use net in IP bcast address"? y/n [n]: n
disable "load rom after netboot fails"? y/n [n]: n
enable "use all zero broadcast"? y/n [n]: n
enable "break/abort has effect"? y/n [n]: n
enable "ignore system config info"? y/n [n]: n
change console baud rate? y/n [n]: n
change the boot characteristics? y/n [n]: y //要选择“y”
enter to boot:
0 = ROM Monitor
1 = the boot helper image
2-15 = boot system
[2]:2 //要选择“2”
Configuration Summary
enabled are:
load rom after netboot fails
console baud: 9600
boot: image specified by the boot system commands
or default to: cisco2-C2600
do you wish to change the configuration? y/n [n]:n
rommon 8 > reset //重启路由器
重启后,恢复正常
cisco 2600 ios误删除后恢复(tftp)
今天找来一台cisco2600想做个实验。本来想先把老的配置保存,没想到我竟然误把ios给删除了。
实在找不到2610的ISO了,结果用2620灌的,可以正常使用。
r7#copy startup-config x.cfg
Destination filename [x.cfg]?
Erase flash: before copying? [confirm]n
Verifying checksum... OK (0x1376)
1248 bytes copied in 0.232 secs
r7#dir
Directory of flash:/
1 -rw- 4467540
2 -rw- 1248
8388608 bytes total (3919692 bytes free)
注意看红色字体,这是我恢复ios后的保存startup-config的步骤。因为当时没注意,直接回车了,造成ios被删除 ,正确的方法是 输入"n”,切记啊!!!
恢复开始,首先找个12.1的ios,
网址:http://www.net130.com/CMS/Pub/soft/soft_ios/2005_06_22_8294.htm
将路由器eth0口与笔记本用交叉线连接,通过concle口登录路由器,设置tftp的环境
rommon 1 >IP_ADDRESS=192.168.1.2 //默认为路由器第一个以太网接口的ip
rommon 2 >IP_SUBNET_MASK=255.255.255.0 //设置路由器以太网接口的子网掩码
rommon 3 >DEFAULT_GATEWAY=192.168.1.1 //设置网关,否则tftp无法成功
rommon 4 >TFTP_SERVER=192.168.1.104 //设置笔记本ip,即为tftp server的ip
rommon 5 >TFTP_FILE=c2600-c-mz.121-9.bin //设置路由器要下载的ios文件名
rommon 6 > set //设置tftp完环境后,可以用set命令再检查一下,也可以略过
PS1=rommon ! >
RET_2_RTS=
IP_ADDRESS=192.168.1.2
IP_SUBNET_MASK=255.255.255.0
DEFAULT_GATEWAY=192.168.1.1
TFTP_SERVER=192.168.1.104
TFTP_FILE=c2600-c-mz.121-9.bin
rommon 7 > tftpdnld //核对无误后,开始tftp
IP_ADDRESS: 192.168.1.2
IP_SUBNET_MASK: 255.255.255.0
DEFAULT_GATEWAY: 192.168.1.1
TFTP_SERVER: 192.168.1.104
TFTP_FILE: c2600-c-mz.121-9.bin
Invoke this command for disaster recovery only.
WARNING: all existing # in all partitions on flash will be lost!
Do you wish to continue? y/n: [n]: y
Receiving c2600-c-mz.121-9.bin from 192.168.1.104
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
File reception completed.
Copying file c2600-c-mz.121-9.bin to flash.
Erasing flash at 0x607c0000
program flash location 0x60120000
rommon 8 > confreg //下载ios完毕后,还需设置寄存器的值
Configuration Summary
enabled are:
load rom after netboot fails
console baud: 9600
boot: image specified by the boot system commands
or default to: cisco2-C2600
do you wish to change the configuration? y/n [n]: y //要选择“y”
enable "diagnostic mode"? y/n [n]: n
enable "use net in IP bcast address"? y/n [n]: n
disable "load rom after netboot fails"? y/n [n]: n
enable "use all zero broadcast"? y/n [n]: n
enable "break/abort has effect"? y/n [n]: n
enable "ignore system config info"? y/n [n]: n
change console baud rate? y/n [n]: n
change the boot characteristics? y/n [n]: y //要选择“y”
enter to boot:
0 = ROM Monitor
1 = the boot helper image
2-15 = boot system
[2]:2 //要选择“2”
Configuration Summary
enabled are:
load rom after netboot fails
console baud: 9600
boot: image specified by the boot system commands
or default to: cisco2-C2600
do you wish to change the configuration? y/n [n]:n
rommon 8 > reset //重启路由器
重启后,恢复正常
cisco 2600 ios误删除后恢复(tftp)
CISCO TFTP Server 使用指南
Cisco IOS权限等级
Cisco IOS权限等级
Cisco設備(路由器)IOS的升級、恢復方法
Cisco IOS防火墙:CBAC简单配置
恢复误删除的文件
电脑误删除资料恢复
CISCO仿真模拟器,把电脑灌入真实IOS
CISCO 2500、1600系列路由器使用手册--多重引导IOS - fanqiang....
CISCO 交换机IOS升级排障实例 - fanqiang.com
cisco路由器用xmodem重新快速安装IOS
清空回收站后删除的文件能恢复吗?
思科IOS软件备份恢复技巧
EasyRecovery恢复被误删除数据
恢复彻底删除的文件(转载)
cisco router完美删除单条ACl
删除文件的恢复
删除文件的恢复
恢复彻底删除文件......
恢复删除的文件
利用Cisco IOS 防止遭受IP地址欺骗攻击.doc - 网络工程 - 51CTO技术...
误删除文件恢复工具RecoverNT3.5汉化版
怎样恢复刚刚删除的文件(zt)