0%

Cisco Clean All setting

  1. 將電腦與 Switch 上的 Console Port 對接 (筆者是 COM3)

  1. 接上電源並按住 Switch 面板上的 「MODE」 鍵,等 Port 1 燈號熄滅後

此時 Console 畫面會出現 「switch:」

提示輸入畫面。輸入下列指令進行覆蓋

1
flash_initload_helperdir flash:/rename flash:config.text flash:config.oldboot

3. 此時會重啟

1
2
Continue with configuration dialog? [yes/no]:no
Switch>

4. 清除設定值

------- 指令 -------------

1
2
3
4
5
6
7
8
9
10
en
rename flash:config.old flash:config.text
Destination filename [config.text]?案Enter
copy flash:config.text system:running-config
Destination filename [running-config]?案Enter
write erase
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]案Enter
reload
System configuration has been modified. Save? [yes/no]: no
Proceed with reload? [confirm]案Enter

5. 檢查設定值是否已清除

1
2
en
sh run

完成。