备份;升级;恢复CISCO路由器IOS,配置文件_黑暗动力_百度空间
it168#

address or name of remote host

[]?129.0.0.3

destination file name [it168-confg]?

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

624 bytes copied in 7.05 secs

it168#

    当网络管理员输入命令并键入回车后,路由器会要求输入TFTP服务器的IP地址,在正确的键入服务器IP地址后,路由器还要求网络管理员提供需要备份的配置文件名。一般我们建议使用管理员容易记忆的文件名。这时路由器会提示管理员按YES确认操作。

    3copy tftp running-config

    如果路由器的配置文件出现问题,这时我们就可以通过从TFTP服务器中拷贝备份的配置文件。具体配置如下:

it168#copy tftp running-config

address or name of remote host[]?

129.0.0.3

source filename []?it168-confg

destination file name [running-config]?

accessing tftp://129.0.0.3/it168-confg

loading it168-confg from 129.0.0.3

(via fastethernet 0/0):

!!!!!!!!!!!!!!!!!!!!!!!

[ok-624 bytes]

624 bytes copied in 9.45 secs

it168#

备份;升级;恢复IOS

一、Cisco 1000,1600,2500,4000系列
1IOS映像恢复的方法及步骤
1) 连接PCCOM1口与路由器的console口,使用PC的超级终端软件访问该路由器;
2) 开启路由器的电源开关,并在30秒内按下键盘的Ctrl+break,中断路由器的正常启动以进入rom监视模式,屏幕上提示符如下:
>
3) 键入如下命令:
>o /r 0x2101
改变路由器虚拟寄存器的默认值(0x2102);
4) 键入重启命令:
>i
路由器重启,当屏幕显示以下信息表明路由器重启完毕:
System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE
Copyright (c) 1986-1995 by cisco Systems
2500 processor with 1024 Kbytes of main memory

Press RETURN to get started!
5) 路由器在虚拟寄存器的值为0x2101时自动进入rom启动模式:
router(boot)>
6) 此时,将TFTP服务器上的恢复至路由器flash memory中,依次键入以下命令:
router(boot)>en
router(boot)#copy tftp flash
System flash directory:
No files in System flash
[0 bytes used, 4194304 available, 4194304 total]
Address or name of remote host [255.255.255.255]?192.168.18.168IP地址已作技术处理,下同)
Source file name? igs-i-l.110-22a.binIOS映像文件名)
Destination file name [igs-i-l.110-22a.bin]?
Accessing file 'igs-i-l.110-22a.bin' on 192.168.18.168...
Loading igs-i-l.110-22a.bin from 192.168.18.168 (via Ethernet0): ! [OK]
Device needs erasure before copying new file
Erase flash device before writing? [confirm]
Copy 'igs-i-l.110-22a.bin' from server
as 'igs-i-l.110-22a.bin' into Flash WITH erase? [yes/no]y
Erasing device... eeeeeeeeeeeeeeee ...erased
Loading igs-i-l.110-22a.bin from 192.168.18.168 (via Ethernet0): !!!!!!!!!!!!!!!!!!!!(!表示恢复成功)
7) 还原路由器虚拟寄存器的默认值(0x2102),恢复路由器的正常启动顺序,依次键入以下命令:
router(boot)#conf t
router(boot)(config)#config-register 0x2102
router(boot)(config)#exit
router(boot)#wr
router(boot)#reload
2IOS映像升级的方法及步骤
1) 升级之前先备份,将相关文件备份至TFTP服务器,键入如下命令:
router#copy bootflash tftpCisco 2500系列路由器不存在bootflash,相应的是rom
router#copy flash tftp
router#copy startup-config tftp
2) 因为Cisco 1000,1600,2500,4000系列路由器不允许在正常工作状态下重写flash memory,所以只有进入rom(或bootflash)启动模式才能升级IOS映像,依次键入以下命令:
router#conf t
router(config)#config-register 0x2101
router(config)#exit
router#wr
router#reload
3) 路由器重启完毕后进入rom(或bootflash)启动模式,从TFTP服务器将新的IOS映像文件拷贝至路由器的flash memory中:
router(boot)#copy tftp flash
4) 还原路由器虚拟寄存器的默认值(0x2102),恢复路由器的正常启动顺序,依次键入以下命令:
router(boot)#conf t
router(boot)(config)#config-register 0x2102
router(boot)(config)#exit
router(boot)#wr
router(boot)#reload



郑重声明:资讯 【备份;升级;恢复CISCO路由器IOS,配置文件_黑暗动力_百度空间】由 发布,版权归原作者及其所在单位,其原创性以及文中陈述文字和内容未经(企业库qiyeku.com)证实,请读者仅作参考,并请自行核实相关内容。若本文有侵犯到您的版权, 请你提供相关证明及申请并与我们联系(qiyeku # qq.com)或【在线投诉】,我们审核后将会尽快处理。
—— 相关资讯 ——