環(huán)境:
華為S5735S-S24T4S-A
Software Version V200R019C10SPC500
問(wèn)題描述:
解決方案:
1.單接口下清除
系統(tǒng)試圖下
sy [Huawei]clearconfigurationinterfaceGigabitEthernet0/0/1(清除0/0/1口配置) Warning:Allconfigurationsoftheinterfacewillbecleared,anditsstatewill beshutdown.Continue?[Y/N]:y [Huawei]intGigabitEthernet0/0/1 [Huawei-GigabitEthernet0/0/1]disthis shutdown 因清除接口下的配置后為shuadown(關(guān)閉)狀態(tài) [Huawei-GigabitEthernet0/0/1]undoshutdown開啟接口 # return
接口下
[HW1730s-GigabitEthernet0/0/49]clearconfigurationthis Warning:AllconfigurationsoftheinterfaceGigabitEthernet0/0/49willbecleared,anditsstatewillbeshutdown.Continue?[Y/N]:y. Info:Total2command(s)executed,2successful,0failed. [HW1730s-GigabitEthernet0/0/49] May2120220130HW1730sDS/4/DATASYNC_CFGCHANGE:OID1.3.6.1.4.1.56813.5.25.191.3.1configurationshavebeenchanged.Thecurrentchangenumberis19,thechangeloopcountis0,andthemaximumnumberofrecordsis4095. [HW1730s-GigabitEthernet0/0/49]disth # interfaceGigabitEthernet0/0/49 shutdown #
2.多接口統(tǒng)一清除
先建端口組,將端口批量加入端口組
[HUAWE]port-group1 [HUAWEI-port-group-1]group-memberGigabitEthernet0/0/3toG0/0/6 在端口組下undo現(xiàn)有配置即可 [HUAWEI-port-group-1]undopl [HUAWEI-port-group-1]undopd
審核編輯:湯梓紅
-
接口
+關(guān)注
關(guān)注
33文章
8885瀏覽量
152972 -
華為
+關(guān)注
關(guān)注
216文章
34909瀏覽量
254604 -
交換機(jī)
+關(guān)注
關(guān)注
21文章
2701瀏覽量
101058 -
端口
+關(guān)注
關(guān)注
4文章
1006瀏覽量
32640
原文標(biāo)題:華為交換機(jī)如何批量清除接口配置信息
文章出處:【微信號(hào):網(wǎng)絡(luò)技術(shù)干貨圈,微信公眾號(hào):網(wǎng)絡(luò)技術(shù)干貨圈】歡迎添加關(guān)注!文章轉(zhuǎn)載請(qǐng)注明出處。
發(fā)布評(píng)論請(qǐng)先 登錄
相關(guān)推薦
交換機(jī)接口類型,交換機(jī)各種類型接口圖片及介紹
華為路由器交換機(jī)VLAN配置實(shí)例
二層交換機(jī)web配置教程
華為交換機(jī)配置技巧入門到精通的資料合集免費(fèi)下載

交換機(jī)的6種配置模式
交換機(jī)最基本的配置與使用方法

使用Python腳本備份華為交換機(jī)的配置信息

評(píng)論