




版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、一、清空配置:<HUAWEI> reset saved-configuration(清楚下次啟動(dòng)時(shí)使用的配置文件信息)然后重啟設(shè)備,重啟設(shè)備室提示保存信息,選擇“NO”。<HUAWEI> reset saved-configurationWarning: The action will delete the saved configuration in the device.The configuration will be erased to reconfigure. Continue? Y/N:yWarning: Now clearing the configura
2、tion in the device.Info: Succeeded in clearing the configuration in the device.<HUAWEI> rebootInfo: The system is now comparing the configuration, please wait.Warning: The configuration has been modified, and it will be saved to the next startup saved-configuration file flash:/vrpcfg.zip. Cont
3、inue? Y/N:n /此處請(qǐng)選擇“N”Info: If want to reboot with saving diagnostic information, input 'N' and then execute 'reboot save diagnostic-information'.System will reboot! Continue?Y/N:y二、通過(guò)STelnet/Telnet登錄交換機(jī)設(shè)置新的Console口登錄密碼# 以登錄用戶(hù)界面的認(rèn)證方式為密碼認(rèn)證,密碼為Huawei123為例,配置如下。<HUAWEI> system-view
4、HUAWEI user-interface console 0HUAWEI-ui-console0 authentication-mode passwordHUAWEI-ui-console0 set authentication password cipher Huawei123HUAWEI-ui-console0 return<HUAWEI> save# 以登錄用戶(hù)界面的認(rèn)證方式為AAA認(rèn)證,用戶(hù)名為admin123,密碼為Huawei123為例,配置如下。<HUAWEI> system-viewHUAWEI user-interface console 0HUAW
5、EI-ui-console0 authentication-mode aaaHUAWEI-ui-console0 quitHUAWEI aaaHUAWEI-aaa local-user admin123 password irreversible-cipher Huawei123HUAWEI-aaa local-user admin123 service-type terminal(本地防務(wù)終端用戶(hù))HUAWEI-aaa return(返回)<HUAWEI> save(保存)三、查看某個(gè)接口學(xué)習(xí)到的MAC地址<HUAWEI> display mac-address dy
6、namic gigabitethernet1/0/1MAC Address VLAN/VSI Learned-From Type -0000-0000-0003 300/- GE1/0/1 dynamic 0026-6e5c-feac 3000/- GE1/0/1 dynamic 四、查看某個(gè)VLAN學(xué)習(xí)到的MAC地址<HUAWEI> display mac-address dynamic vlan 10MAC Address VLAN/VSI Learned-From Type -0000-0000-0003 10/- GE1/0/1 dynamic 0026-6e5c-feac
7、 10/- GE1/0/2 dynamic 五、查看系統(tǒng)的MAC地址<HUAWEI> display interface gigabitethernet1/0/1GigabitEthernet1/0/1 current state : UP Line protocol current state : UPDescription: Switch Port, Link-type : access(configured), IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is00e0f74b-6d00 六
8、、根據(jù)IP獲取對(duì)應(yīng)設(shè)備的MAC地址<HUAWEI> display arp | include 0配置端口安全# 配置GE1/0/1接口的端口安全功能。<HUAWEI> system-viewHUAWEI interface gigabitethernet 1/0/1HUAWEI-GigabitEthernet1/0/1 port-security enable# 配置GE1/0/1接口的MAC地址學(xué)習(xí)限制數(shù)為5,即最多可以學(xué)習(xí)到5個(gè)MAC地址表項(xiàng)。<HUAWEI> system-viewHUAWEI interface gigab
9、itethernet 1/0/1HUAWEI-GigabitEthernet1/0/1 port-security enableHUAWEI-GigabitEthernet1/0/1 port-security max-mac-num 5配置永久端口組# 配置接口GE1/0/1至GE1/0/8加入到永久端口組portgroup1(使用port-group命令)<HUAWEI> system-viewHUAWEI port-group portgroup1HUAWEI-port-group-portgroup1 group-member gigabitethernet 1/0/1 t
10、o gigabitethernet 1/0/8配置接口速率 自協(xié)商模式下,手動(dòng)配置接口速率# 配置以太網(wǎng)接口GE1/0/1在自協(xié)商模式下協(xié)商速率為100Mbit/s。<HUAWEI> system-viewHUAWEI interface gigabitethernet 1/0/1HUAWEI-GigabitEthernet1/0/1 negotiation autoHUAWEI-GigabitEthernet1/0/1 auto speed 100配置雙工模式 自協(xié)商模式下,手動(dòng)配置雙工模式 # 配置以太網(wǎng)電接口GE1/0/1在自協(xié)商模式下雙工模式為全雙工模式。<HUAWE
11、I> system-viewHUAWEI interface gigabitethernet 1/0/1HUAWEI-GigabitEthernet1/0/1 negotiation autoHUAWEI-GigabitEthernet1/0/1 auto duplex full配置接口切換到三層模式 接口視圖下執(zhí)行命令undo portswitch,配置接口切換到三層模式。# 將接口GE1/0/1切換為三層模式。<HUAWEI> system-viewHUAWEI interface gigabitethernet 1/0/1HUAWEI-GigabitEthernet1/
12、0/1 undo portswitchHUAWEI-GigabitEthernet1/0/1 ip address 0 支持二層模式與三層模式切換的款型及版本如下:lS5700EI:V200R005C00&C01lS5700HI:V100R005C01、V100R006C01、V200R001C00、V200R002C00、V200R003C00、V200R005C00&C01lS5710EI:V200R002C00、V200R003C00、V200R005C00lS5720EI:V200R007C00、V200R008C00、V2
13、00R009C00、V200R010C00lS5710HI:V200R003C00、V200R005C00lS5720HI:V200R006C00、V200R007C00、V200R008C00、V200R009C00、V200R010C00lS6700EI:V200R005C00&C01lS6720EI:V200R008C00、V200R009C00、V200R010C00lS6720S-EI:V200R008C00、V200R009C00、V200R010C00lS7700&S9700:V200R001C00&C01、V200R002C00、V200R003C00、
14、V200R005C00、V200R006C00、V200R007C00、V200R008C00、V200R009C00、V200R010C00對(duì)于V200R005C00及后續(xù)版本,在接口使用命令undo portswitch,將以太網(wǎng)接口從二層模式切換到三層模式后,支持配置IP地址。一鍵清除接口下的配置 執(zhí)行命令一鍵式清除接口下配置后,接口的狀態(tài)將被置為shutdown狀態(tài)。# 在系統(tǒng)視圖下執(zhí)行命令clear configuration interface清除GE1/0/1接口下的配置<HUAWEI> system-viewHUAWEI clear configuration in
15、terface gigabitethernet 1/0/1Warning: All configurations of the interface will be cleared, and its state will be shutdown. Continue? Y/N :yInfo: Total 5 command(s) executed, 5 successful, 0 failed.查看設(shè)備支持的鏈路聚合組數(shù)目和成員接口數(shù)目# 查看設(shè)備支持的鏈路聚合組數(shù)目和成員接口數(shù)目。<HUAWEI> display trunk configuration接口加入VLANl Access
16、接口加入VLAN<HUAWEI> system-viewHUAWEI interface gigabitethernet0/0/1HUAWEI-GigabitEthernet0/0/1 port link-type access /設(shè)置接口的鏈路類(lèi)型為AccessHUAWEI-GigabitEthernet0/0/1 port default vlan 10 /把接口GigabitEthernet0/0/1加入VLAN 10Trunk接口加入VLAN<HUAWEI> system-viewHUAWEI interface gigabitethernet0/0/1HUAW
17、EI-GigabitEthernet0/0/1 port link-type trunk /設(shè)置接口的鏈路類(lèi)型為T(mén)runkHUAWEI-GigabitEthernet0/0/1 port trunk allow-pass vlan 10 /把接口GigabitEthernet0/0/1加入VLAN 10Hybrid接口加入VLAN<HUAWEI> system-viewHUAWEI interface gigabitethernet0/0/1HUAWEI-GigabitEthernet0/0/1 port link-type hybrid /設(shè)置接口的鏈路類(lèi)型為HybridHUAW
18、EI-GigabitEthernet0/0/1 port hybrid tagged vlan 10 /接口GigabitEthernet0/0/1以Tagged方式加入VLAN 10HUAWEI-GigabitEthernet0/0/1 port hybrid untagged vlan 20 /接口GigabitEthernet0/0/1以Untagged方式加入VLAN 20批量創(chuàng)建VLAN批量創(chuàng)建10個(gè)連續(xù)的VLAN:VLAN11到VLAN20。<HUAWEI> system-viewHUAWEI vlan batch 11 to 20批量創(chuàng)建10不連續(xù)的VLAN:VLAN
19、10、VLAN15到VLAN19、VLAN25、VLAN28到VLAN30。<HUAWEI> system-viewHUAWEI vlan batch 10 15 to 19 25 28 to 30接口批量加入VLANaccess接口類(lèi)型。<HUAWEI> system-viewHUAWEI port-group pg1 /創(chuàng)建端口組pg1HUAWEI-port-group-pg1 group-member gigabitethernet1/0/1 to gigabitethernet1/0/5 /把接口gigabitethernet1/0/1到gigabitether
20、net1/0/5加入端口組HUAWEI-port-group-pg1 port link-type access /批量修改端口gigabitethernet1/0/1 to gigabitethernet1/0/5的鏈路類(lèi)型為accessHUAWEI-port-group-pg1 port default vlan 10 /批量把端口gigabitethernet1/0/1 to gigabitethernet1/0/5加入VLAN10trunk接口類(lèi)型。<HUAWEI> system-viewHUAWEI port-group pg1 /創(chuàng)建端口組pg1HUAWEI-port-group-pg1 group-member gigabitethernet1/0/1 to gigabitethernet1/0/5 /把接口gigabitethernet1/0/1到gigabitethernet1/0/5加入端口組HUAWEI-port-group-pg1 port link-type trunk /批量修改端口gigabitethernet1/0/1 to gigabitethernet1/0/5的鏈路類(lèi)型為trunkHUAWEI-port-group-pg1 port trunk allow-pass vlan
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年中國(guó)全自動(dòng)圓筒機(jī)行業(yè)市場(chǎng)發(fā)展前景及發(fā)展趨勢(shì)與投資戰(zhàn)略研究報(bào)告
- 2022-2027年中國(guó)林業(yè)及木材加工行業(yè)發(fā)展監(jiān)測(cè)及投資戰(zhàn)略研究報(bào)告
- 2024-2030年中國(guó)互聯(lián)網(wǎng)衛(wèi)星制造行業(yè)市場(chǎng)競(jìng)爭(zhēng)格局及投資前景展望報(bào)告
- “健康運(yùn)動(dòng)活力無(wú)限”青少年健康運(yùn)動(dòng)俱樂(lè)部商業(yè)計(jì)劃書(shū)
- 2020-2025年中國(guó)肉夾饃行業(yè)市場(chǎng)前景預(yù)測(cè)及投資戰(zhàn)略研究報(bào)告
- 培訓(xùn)課件內(nèi)容反饋
- 中國(guó)印刷用紙行業(yè)市場(chǎng)深度調(diào)查及發(fā)展前景研究預(yù)測(cè)報(bào)告
- 村級(jí)婦聯(lián)培訓(xùn)課件
- 少兒財(cái)商培訓(xùn)課件
- 2024年全球及中國(guó)一次性使用負(fù)壓引流敷料行業(yè)頭部企業(yè)市場(chǎng)占有率及排名調(diào)研報(bào)告
- 四川省宜賓縣2024屆語(yǔ)文八下期末聯(lián)考試題含解析
- 醫(yī)務(wù)人員手衛(wèi)生規(guī)范培訓(xùn)課件預(yù)防醫(yī)院感染的手衛(wèi)生措施
- 電纜敷設(shè)專(zhuān)項(xiàng)施工方案
- 兒童下支氣管肺炎護(hù)理查房課件
- 倉(cāng)庫(kù)搬遷安全須知培訓(xùn)培訓(xùn)課件
- 機(jī)車(chē)高壓電器-高壓連接器
- 【課件】Unit+1Reading+and+thinking說(shuō)課課件人教版必修第二冊(cè)
- ic封裝公司運(yùn)營(yíng)管理方案
- 軟件項(xiàng)目管理 復(fù)習(xí)題(附參考答案)
- 有機(jī)電子學(xué)課件
- 我國(guó)煤機(jī)裝備制造業(yè)發(fā)展現(xiàn)狀與展望
評(píng)論
0/150
提交評(píng)論