Cisco 3750交换机配置无故丢失,恢复一例
来源:互联网 发布:autodesk系列软件 编辑:程序博客网 时间:2024/05/17 07:57
[ZT]Cisco 3750交换机配置无故丢失,恢复一例
分类: 系统运维
一台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、重启恢复正常。
0 0
- [ZT]Cisco 3750交换机配置无故丢失,恢复一例
- Cisco 3750交换机配置无故丢失,恢复一例
- CISCO路由器交换机IOS丢失的恢复
- cisco交换机配置(一)
- Cisco 3750 三层交换机配置
- CIsco交换机恢复出厂设置
- [ZT]Cisco 3750 三层交换机配置
- Cisco 3750交换机配置DHCP服务器实例
- CISCO 交换机的配置
- Cisco交换机配置基础
- cisco交换机配置
- cisco交换机配置
- cisco 交换机2960配置
- cisco交换机配置命令
- Cisco交换机初始化配置
- Cisco交换机初始化配置
- cisco交换机配置
- Cisco交换机 SNMP配置
- javascript:window.close()在chrome,Firefox下失效问题解决方法
- [leetcode]Subsets
- ActiveMQ-cpp客户端程序应用异常退出问题
- 计算书费
- UVA128 - Software CRC(大数取模)
- Cisco 3750交换机配置无故丢失,恢复一例
- 10-内存与动态分配
- 【solved】ubuntu firefox 上网龟速问题
- eclipse / ADT(Android Develop Tool) 一些方便的初始设置
- Python写爬虫抓站的一些技巧
- HTML5怎么了?财务软件Xero放弃HTML5
- shell脚本学习指南-学习(2)
- hdu 4833
- CSS使DIV背景颜色渐变