Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5371313
  • 博文数量: 890
  • 博客积分: 12876
  • 博客等级: 上将
  • 技术积分: 10760
  • 用 户 组: 普通用户
  • 注册时间: 2004-10-04 14:18
个人简介

猝然临之而不惊,无故加之而不怒。

文章分类

全部博文(890)

文章存档

2016年(1)

2014年(18)

2013年(41)

2012年(48)

2011年(65)

2010年(84)

2009年(121)

2008年(101)

2007年(129)

2006年(95)

2005年(118)

2004年(69)

分类: 系统运维

2010-08-31 15:26:25

一台WS-C3750G-24T交换机,在SI技术人员配置离开后,加电开机,居然提示:

Would you like to terminate autoinstall? [yes]: no

— System Configuration Dialog —

Would you like to enter the initial configuration dialog? [yes/no]: no

奇怪,他们走时明明是”Write”过啊,怎么又要进行初始配置?检查配置文件情况:

Switch#dir

Directory of flash:/

2 -rwx 1383 Mar 1 1993 00:15:06 +00:00 config.old

3 -rwx 6206799 Mar 1 1993 00:27:44 +00:00 c3750-i5-mz.122-25.SE.bin

4 -rwx 2724 Mar 1 1993 00:17:43 +00:00 vlan.dat.renamed

5 drwx 192 Mar 1 1993 00:05:17 +00:00 c3750-ipbase-mz.122-25.SEB4

364 -rwx 5861 Mar 1 1993 00:16:56 +00:00 config.text.renamed

365 -rwx 5 Mar 1 1993 00:16:56 +00:00 private-config.text.renamed

15998976 bytes total (2672640 bytes free)

Switch#

几个配置文件都被加上了.renamed后缀名。真是见鬼,这不太像人工所为,上网G了一把,也有不少人有过此经历,看来最大的可能是在开机时,碰到前面板上的”MODE”按键了。知道原因了,就得开始解决问题。

1、先查看一下今天的配置内容是否健在:

Switch#more flash:/config.text.renamed

!

version 12.2

no service pad

还好,全都健在。

2、把名字改回去:

Switch#rename flash:vlan.dat.renamed vlan.dat

Destination filename [vlan.dat]?

Switch#rename flash:/config.text.renamed config.text

Destination filename [config.text]?

Switch#rename flash:/private-config.text.renamed private-config.text

Destination filename [private-config.text]?

Switch#dir

Directory of flash:/

 

2 -rwx 1383 Mar 1 1993 00:15:06 +00:00 config.old

3 -rwx 6206799 Mar 1 1993 00:27:44 +00:00 c3750-i5-mz.122-25.SE.bin

4 -rwx 2724 Mar 1 1993 00:17:43 +00:00 vlan.dat

5 drwx 192 Mar 1 1993 00:05:17 +00:00 c3750-ipbase-mz.122-25.SEB4

364 -rwx 5861 Mar 1 1993 00:16:56 +00:00 config.text

365 -rwx 5 Mar 1 1993 00:16:56 +00:00 private-config.text

15998976 bytes total (2672640 bytes free)

Switch#



3、把配置文件COPY到start-up-config,然后重启。

Switch#copy flash:config.text nvram:startup-config

Destination filename [startup-config]?

[OK]

5861 bytes copied in 0.151 secs (38815 bytes/sec)

Switch#reload

Proceed with reload? [confirm]

4、重启恢复正常。

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