[ZT]Cisco 3750交换机配置无故丢失,恢复一例

来源:互联网 发布:连江房产网络备案查询 编辑:程序博客网 时间:2024/05/16 09:09
一台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、重启恢复正常。

阅读(1356) | 评论(0) | 转发(0) |
0

上一篇:[ZT]Cisco 3750 三层交换机配置

下一篇:[ZT]CICSO交换机 + ROS VLAN设置实例

相关热门文章
  • IP Sec VPN与NAT破镜重圆
  • 网站导航
  • UT2.0正式版下载
  • tomcat6.0配置(含配置视频下载...
  • Gomez中国网站用户体验排行榜(...
  • IBM DS3400 盘阵怎么查看是单...
  • 启动auditd时,报错如下,怎么...
  • CGSL系统中root密码正确,但无...
  • 在CGSL系统中,如何为不同的用...
  • CGSL系统如何设置交换分区的大...
给主人留下些什么吧!~~