




下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
SW1配置如下:<Huawei><Huawei>sy <Huawei>system-view〔進(jìn)入全局模式〕Entersystemview,returnuserviewwithCtrl+Z.[Huawei]sy [Huawei]sysnameSW1(設(shè)備命名〕[SW1][SW1]d [SW1]dhcpen [SW1]dhcpenable〔使用DHCP功能〕Info:Theoperationmaytakeafewseconds.Pleasewaitforamoment.done.[SW1][SW1]ippool10〔創(chuàng)立全局地址池,同時進(jìn)入全局地址池視圖〕Info:It'ssuccessfultocreateanIPaddresspool.[SW1-ip-pool-10]netw [SW1-ip-pool-10]network192.168.10.0m [SW1-ip-pool-10]network192.168.10.0mask24〔配置全局地址池可動態(tài)分配的IP地址圍〕[SW1-ip-pool-10][SW1-ip-pool-10]dns-list8.8.8.8〔配置DNS〕[SW1-ip-pool-10][SW1-ip-pool-10]gateway-list192.168.10.1〔配置網(wǎng)關(guān)〕[SW1-ip-pool-10]e* [SW1-ip-pool-10]e*cluded-ip-address192.168.10.201192.168.10.254〔保存不被分配的地址〕[SW1-ip-pool-10][SW1-ip-pool-10]leased[SW1-ip-pool-10]leaseday7〔IP租約期限〕[SW1-ip-pool-10][SW1-ip-pool-10]disthis〔查詢當(dāng)前模式的配置〕*ippool10gateway-list192.168.10.1〔網(wǎng)關(guān)〕network192.168.10.0mask255.255.255.0〔IP地址圍〕e*cluded-ip-address192.168.10.201192.168.10.254〔保存IP地址圍〕leaseday7hour0minute0〔IP租約周期〕*return[SW1-ip-pool-10][SW1-ip-pool-10][SW1-ip-pool-10]quit(退出〕[SW1][SW1][SW1][SW1]ippool20Info:It'ssuccessfultocreateanIPaddresspool.[SW1-ip-pool-20][SW1-ip-pool-20][SW1-ip-pool-20]netw[SW1-ip-pool-20]network192.168.20.0m [SW1-ip-pool-20]network192.168.20.0mask24[SW1-ip-pool-20][SW1-ip-pool-20][SW1-ip-pool-20]d [SW1-ip-pool-20][SW1-ip-pool-20]g [SW1-ip-pool-20][SW1-ip-pool-20][SW1-ip-pool-20]e* [SW1-ip-pool-20][SW1-ip-pool-20][SW1-ip-pool-20]l [SW1-ip-pool-20]leased [SW1-ip-pool-20]leaseday7[SW1-ip-pool-20][SW1-ip-pool-20][SW1-ip-pool-20][SW1-ip-pool-20][SW1-ip-pool-20]disthis*ippool20leaseday7hour0minute0*return[SW1-ip-pool-20][SW1-ip-pool-20][SW1-ip-pool-20]q[SW1][SW1][SW1]v [SW1]vlanb [SW1]vlanbatch1020〔批量創(chuàng)立vlan〕Info:Thisoperationmaytakeafewseconds.Pleasewaitforamoment...done.[SW1][SW1][SW1]int [SW1]interfaceg [SW1]interfaceGigabitEthernet0/0/1〔進(jìn)入port1)[SW1-GigabitEthernet0/0/1]por [SW1-GigabitEthernet0/0/1]portl [SW1-GigabitEthernet0/0/1]portlink-t [SW1-GigabitEthernet0/0/1]portlink-typea [SW1-GigabitEthernet0/0/1]portlink-typeaccess(配置port1類型〕[SW1-GigabitEthernet0/0/1][SW1-GigabitEthernet0/0/1][SW1-GigabitEthernet0/0/1]port [SW1-GigabitEthernet0/0/1]portdef [SW1-GigabitEthernet0/0/1]portdefaultv [SW1-GigabitEthernet0/0/1]portdefaultvlan10〔配置port1vlan)[SW1-GigabitEthernet0/0/1][SW1-GigabitEthernet0/0/1]quit(退出〕[SW1][SW1]int [SW1]interfaceg [SW1]interfaceGigabitEthernet0/0/2[SW1-GigabitEthernet0/0/2][SW1-GigabitEthernet0/0/2][SW1-GigabitEthernet0/0/2][SW1-GigabitEthernet0/0/2]por [SW1-GigabitEthernet0/0/2]portl [SW1-GigabitEthernet0/0/2]portlink-t [SW1-GigabitEthernet0/0/2]portlink-typea [SW1-GigabitEthernet0/0/2]portlink-typeaccess[SW1-GigabitEthernet0/0/2][SW1-GigabitEthernet0/0/2]por [SW1-GigabitEthernet0/0/2]portdef [SW1-GigabitEthernet0/0/2]portdefaultv [SW1-GigabitEthernet0/0/2]portdefaultvlan20[SW1-GigabitEthernet0/0/2][SW1-GigabitEthernet0/0/2]quit[SW1][SW1][SW1][SW1]int [SW1]interfacev 〔配置VLANIF10接口下的客戶端從全局地址池中獲取IP地址〕[SW1]interfaceVlanif10〔創(chuàng)立vlanif10)[SW1-Vlanif10][SW1-Vlanif10][SW1-Vlanif10]ipadd [SW1-Vlanif10]ipaddress192.168.10.124(配置IP地址〕[SW1-Vlanif10][SW1-Vlanif10]dhcpsel [SW1-Vlanif10]dhcpselectg [SW1-Vlanif10]dhcpselectglobal〔在vlanif10模式下調(diào)用全局地址池〕[SW1-Vlanif10][SW1-Vlanif10][SW1-Vlanif10]dis [SW1-Vlanif10]displaythis〔查詢當(dāng)前配置參數(shù)〕*interfaceVlanif10dhcpselectglobal*return[SW1-Vlanif10][SW1-Vlanif10][SW1-Vlanif10]quit[SW1][SW1][SW1]int [SW1]interfacev [SW1]interfaceVlanif20[SW1-Vlanif20][SW1-Vlanif20][SW1-Vlanif20]ipadd [SW1-Vlanif20]ipaddress192.168.20.124[SW1-Vlanif20][SW1-Vlanif20]dhcp [SW1-Vlanif20]dhcpsel [SW1-Vlanif20]dhcpselectg [SW1-Vlanif20]dhcpselectglobal[SW1-Vlanif20][SW1-Vlanif20]disthis*interfaceVlanif20dhcpselectglobal*return[SW1-Vlanif20][SW1-Vlanif20][SW1-Vlanif20]quit[SW1][SW1]dis [SW1]displayippool〔查看IP地址池配置情況〕-----------------------------------------------------------------------Pool-name:10Pool-No:0Position:LocalStatus:UnlockedGateway-0:192.168.10.1VPNinstance:-------------------------------------------------------------------------Pool-name:20Pool-No:1Position:LocalStatus:UnlockedGateway-0:192.168.20.1VPNinstance:--IPaddressStatisticTotal:506Used:0Idle:398E*pired:0Conflict:0Disable:108[SW1][SW1][SW1]quit<SW1><SW1><SW1>save〔保存配置,寫入設(shè)備〕Thecurrentconfigurationwillbewrittentothedevice.Areyousureto
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 古代表示年齡的詞語從小到大排序
- 公益慈善存在的問題及建議
- 公共直飲水點管理制度
- 公共交通服務(wù)質(zhì)量評估制度
- 工作票安規(guī)流程
- 工業(yè)產(chǎn)品外觀設(shè)計的基本原則
- 2025年養(yǎng)老保險市場分析:參保人數(shù)穩(wěn)步增長 持續(xù)優(yōu)化服務(wù)保障
- 廣東省茂名市2024-2025學(xué)年高三上學(xué)期第一次綜合測試數(shù)學(xué)試題(解析版)
- 湛江降水井施工方案
- 寧波耐堿磚施工方案
- 中醫(yī)理療免責(zé)協(xié)議書
- 精神科病人安全與治療管理制度
- 廚房食材收貨流程
- 品牌服飾行業(yè)快速消費(fèi)品庫存管理優(yōu)化方案
- 貝雷橋吊裝專項方案(危大工程吊裝方案)
- 昌江縣燕窩嶺水泥用石灰?guī)r礦礦產(chǎn)資源開發(fā)利用與保護(hù)方案
- 2024年《認(rèn)證基礎(chǔ)》真題及答案
- ZHF形勢與政策(2024年秋)-考試題庫
- 淤地壩應(yīng)急處置
- 鸚鵡介紹課件教學(xué)課件
- 汽車檢測技術(shù)課件 任務(wù)一 認(rèn)識汽車檢測站
評論
0/150
提交評論