方法一

<H3C> reset saved-configuration//清空交換機(jī)配置
The saved configuration file will be erased. Are you sure? [Y/N]:y //設(shè)備提示保存的配置將會被刪除,是否繼續(xù)。
Configuration file inflash: is being cleared. Please wait...
MainBoard:
Configuration file is cleared. //配置已被清空
<H3C> reboot//重啟交換機(jī)
Start to check configuration with next startup configuration file, please wait.........DONE!
Current configuration may be lost after the reboot, save current configuration? [Y/N]:n //設(shè)備提示會在重啟后丟失當(dāng)前配置,是否保存當(dāng)前配置,選擇n
This commandwill reboot the device. Continue? [Y/N]:y //設(shè)備提示設(shè)備將會重啟,是否繼續(xù),選擇Y
Now rebooting, please wait...
方法二
用console線連接,看好提示,ctrl b進(jìn)入,看好菜單提示,進(jìn)入文件管理菜單,刪除掉cfg的文件,重啟就行
<H3C> delete startup.cfg//刪除startup.cfg這個啟動運行的配置文件
Delete flash:/startup.cfg? [Y/N]:y //設(shè)備提示是否要刪除,選擇Y
Deleting file flash:/startup.cfg... Done. //設(shè)備提示startup.cfg這個文件已刪除完成
<H3C> reboot//重啟交換機(jī)
方法三

進(jìn)入web界面下,找到設(shè)備管理,恢復(fù)出廠設(shè)置 ,重啟