方法一:(config)#clear confiure all
方法二:(config)#configure factory-default
注意:檢查flash中是否有保存就配置文件及其他有用文件,及時刪除