客戶來電話反映一臺思科的3650交換機重啓之後配置沒有了,第一反應是不是寄存器值發生變化了,登錄系統通過show verion查看,截圖如下:
在最下方發現:
Configuration register is 0x142 (will be 0x102 at next reload)
寄存器值的確有問題,不過後面卻顯示will be 0x102 at next reload。按道理來說應該沒問題啊!
手動在全局模式下修改了寄存器值爲0x102,然後保存,再次重啓!結果還是不行,啓動後配置仍然丟失!
難道是軟件有BUG?
在思科官網上搜索了一下,果然有所發現。官網上有一個類似的案例,只不過型號是3850,信息如下:
解決辦法如下:
- Configure "system ignore startupconfig switch all" under "config t".
- Configure "no system ignore startupconfig switch all" under "config t".
- Save the config
- Reload the switch.
也就是:
switch(config)#system ignore startupconfig switch all
switch(config)#no system ignore startupconfig switch all
switch(config)#end
switch#wr
switch#reload
在把配置重新配置好之後執行上面的操作,然後重啓,故障解決,進入系統中使用show version進行查看,結果如下:
以前見過丟配置的,不過這樣的情況還是第一次見到!