Chinaunix首页 | 论坛 | 博客
  • 博客访问: 7522584
  • 博文数量: 637
  • 博客积分: 10265
  • 博客等级: 上将
  • 技术积分: 6165
  • 用 户 组: 普通用户
  • 注册时间: 2004-12-12 22:00
文章分类

全部博文(637)

文章存档

2011年(1)

2010年(1)

2009年(3)

2008年(12)

2007年(44)

2006年(156)

2005年(419)

2004年(1)

分类: 系统运维

2005-03-17 18:54:42

如果您的配置中有 boot system 命令条目,您需要从配置中将它们去除。有关去除boot条目的详情,请参阅 下节。

去除先前的引导说明

如果要去除这些命令,请进入配置终端模式。在配置模式中,您在每个引导说明前键入“no”来取消所有命令。下例说明如何去除当前引导说明。

3600#configure terminal

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

3600(config)#no boot system flash slot1:c3640-i-mz.120-22.bin

3600(config)#^Z

3600#

“no boot system flash slot1:c3640-i-mz.120-22.bin" ”说明从配置中去除。请通过发出 show running-config 命令检验该命令是否已经去除。

设定新的引导说明

现在设定路由器以新的镜像进行启动。请发出以下命令来设定boot system参数:

boot system flash slot#:{imagename} (imagename = name of the new Cisco IOS software image)

3600#configure terminal

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

3600(config)#boot system flash slot1:c3640-i-mz.122-7b.bin

3600(config)#^Z

3600#write memory

3d01h: %SYS-5-CONFIG_I: Configured from console by vty0

Building configuration...

3600#

通过发出show version命令来检验是否正在使用 config-register 0x2102 。如果是不同的设定,您可以通过在配置模式中发出以下命令进行改变:

3600#configure terminal

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

3600(config)#config-register 0x2102

3600(config)#^Z

改变了config - register之后,将在下一次重新加载时变化起作用。

步骤6:重新启动路由器以加载新镜像

为使路由器运行新的Cisco IOS软件镜像,您需要重新加载路由器。请确保您已发出 copy running-config starting-config 命令或者 write memory 命令来保存配置。

3600#write memory

3d01h: %SYS-5-CONFIG_I: Configured from console by vty0 (127.0.0.11)

Building configuration...

3600#reload

阅读(851) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~