一台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、重启恢复正常。
阅读(4099) | 评论(0) | 转发(0) |