兰溪在线|lanxi.online|兰溪新闻|兰溪在线|兰溪论坛|兰溪信息|兰溪网|兰西网

 找回密码
 立即注册

微信登录

微信扫一扫,快速登录

搜索
热搜: 活动 交友 discuz

社区广播台

查看: 610|回复: 0

介绍两种恢复CISCO IOS的方法

[复制链接]

508

主题

508

帖子

1526

积分

金牌会员

Rank: 6Rank: 6

积分
1526
发表于 2019-4-12 10:33:06 | 显示全部楼层 |阅读模式
如果您的器的flash因为意外丢失了IOS,您可以在ROM monitor commands模式下通过如下两种办法恢复:

1) xmodem—Use this if the computer attached to your console has a terminal emulator that has xmodem capability.
2) tftpdnld—Use this if you have a TFTP server directly connected to the Ethernet 0 port.

Using the xmodem Command
The xmodem command establishes a connection between a console and the router console port for disaster recovery if both the boot and system images are erased from Flash memory.
xmodem [filename]—Establishes an xmodem connection between the console and the router. The optional parameter filename specifs the source file containing the Cio IOS image.
Other options include the following:
·-c—use cyclic redundancy check (CRC-16)
·-y—use Ymodem transfer protocol
·-r—copy the image to DRAM for launch
·-x—do not launch image on completion of download

Using the tftpdnld Command
The tftpdnld command downloads a Cio IOS software image from a remote server into Flash memory using TFTP.
tftpdnld—Begins the TFTP copy command.
The following variables are required:
·IP_ADDRESS—The IP address for the router you are using.
·IP_SUBNET_MASK—The subnet mask for the router you are using.
·DEFAULT_GATEWAY—The default gateway for the router you are using.
·TFTP_SERVER—The IP address of the server from which you want to download the image file.
·TFTP_FILE—The name of the file that you want to download.
·The following variables are optional:
·TFTP_VERBOSE—Print setting. 0=qut, 1=progress, 2=verbose. The default is 1.
·TFTP_RETRY_COUNT—Retry count for  and TFTP. The default is 7.
·TFTP_TIMEOUT—Overall timeout of the download operation in seconds. The default is 2400 seconds.
·TFTP_CHECKSUM—Performs a checksum test on the imag
1
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 微信登录

本版积分规则

快速回复 返回顶部 返回列表