華為裝置:清除配置詳解
阿新 • • 發佈:2021-01-08
技術標籤:HCIE
清除所有配置
即初始化裝置,所有的配置都不想要了。可以在使用者檢視下輸入:
reset saved-configuration
輸入:Y,確認清除
輸入:reboot;重啟系統
第1次提示輸入:N 不儲存配置;第2次提示輸入:Y 確認重啟
單獨清除介面配置
[sw-GigabitEthernet0/0/24]clear configuration interface g0/0/24
Warning: All configurations of the interface will be cleared, and its state will
be shutdown. Continue? [ Y/N] :y
這樣就清除完成了,但是清除完成之後,介面就會自動shutdown
,所以我們必須進入介面重啟啟動介面。
[sw]int g0/0/24
[sw-GigabitEthernet0/0/24]undo shutdown
[sw-GigabitEthernet0/0/24]q