在思科模拟器中如何搭建一个备份区域

如题所述

情境分析
没有路由器的IOS系统,是无法让路由器恢复到正常工作的状态,所以管理员只能从别的路由器上先备份IOS系统,再对无法正常工作的路由器进行系统的恢复。
所需设备:

(1)Cisco 2911路由器2台。

(2)带超级终端应用程序的PC机1台。

(3)安装好TFTP软件的PC机1台

(4)console配置线1条。

任务拓扑,如图3-4-1所示。

图3-4-1 路由器系统的备份与恢复拓扑图

路由器和PC机IP地址网络参数配置,如表3-4-1所示。

表3-4-1 交换机和PC机IP地址网络参数设置

设备

端口

IP

Mask

Router-A

G0/0

192.168.1.1

255.255.255.0

TFTP Server

192.168.1.10

255.255.255.0

步骤实现
步骤1:按照如图2-4-1所示,连接网络拓扑结构图。

步骤2:按照如表3-4-1所示,配置TFTP Server的IP地址、子网掩码。

步骤3:配置路由器A的主机名称和g0/0接口地址。

Router>

Router>en

Router#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#host Router-A

Router-A(config)#int g0/0

Router-A(config-if)#ip add 192.168.1.1 255.255.255.0

Router-A(config-if)#no shut

Router-A(config-if)#
登录后复制

步骤4:查看路由器的IOS系统。

Router-A#show flash:

System flash directory:

File Length Name/status

3 33591768 c2900-universalk9-mz.SPA.151-4.M4.bin 这个是路由系统的版本号,复制下来等下要用

2 28282 sigdef-category.xml

1 227537 sigdef-default.xml

[33847587 bytes used, 221896413 available, 255744000 total]

249856K bytes of processor board System flash (Read/Write)

Router-A#
登录后复制

步骤5:备份路由器的IOS系统。

Router-A#copy flash: tftp: 回车

Source filename []? c2900-universalk9-mz.SPA.151-4.M4.bin 把刚才查看的名字粘贴上去

Address or name of remote host []? 192.168.1.10 要备份的路由的IP

Destination filename [c2900-universalk9-mz.SPA.151-4.M4.bin]?

Writing c2900-universalk9-mz.SPA.151-4.M4.bin....!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

[OK - 33591768 bytes]

33591768 bytes copied in 3.546 secs (994640 bytes/sec)

Router-A#
登录后复制

步骤6:在TFTP Server中查看备份好的路由器的IOS系统,如图3-4-2所示。

图3-4-2 tftp server界面

步骤7:将TFTP Server连接到版本的路由器上,如图3-4-3所示。

步骤8:恢复路由器的IOS系统,设置IP、nemask、default_gateway等参数,并输入tftpdnld,提示输入【y/n】,输入“y”回车。

Readonly ROMMON initialized

Boot process failed...

The system is unable to boot automatically. The BOOT

environment variable needs to be set to a bootable

image.

rommon 1 > IP_ADDRESS=192.168.1.1 !必须要写

rommon 2 > IP_SUBNET_MASK=255.255.255.0

rommon 3 > DEFAULT_GATEWAY=192.168.1.1

rommon 4 > TFTP_SERVER=192.168.1.10

rommon 5 > TFTP_FILE=c2900-universalk9-mz.SPA.151-4.M4.bin

rommon 6 > tftpdnld !回车后,如果无法恢复,就再输入一次以上设置

IP_ADDRESS: 192.168.1.1

IP_SUBNET_MASK: 255.255.255.0

DEFAULT_GATEWAY: 192.168.1.1

TFTP_SERVER: 192.168.1.10

TFTP_FILE: c2900-universalk9-mz.SPA.151-4.M4.bin

Invoke this command for disaster recovery only.

WARNING: all existing data in all partitions on flash will be lost!

Do you wish to continue? y/n: [n]:y
登录后复制

步骤9:此时系统会恢复IOS系统,完成后出现“rommon 7 >”。

program flash location 0x61f30000

program flash location 0x61f40000

program flash location 0x61f50000

program flash location 0x61f60000

program flash location 0x61f70000

program flash location 0x61f80000

program flash location 0x61f90000

program flash location 0x61fa0000

program flash location 0x61fb0000

program flash location 0x61fc0000

program flash location 0x61fd0000
温馨提示:答案为网友推荐,仅供参考

相关了解……

你可能感兴趣的内容

本站内容来自于网友发表,不代表本站立场,仅表示其个人看法,不对其真实性、正确性、有效性作任何的担保
相关事宜请发邮件给我们
© 非常风气网