




版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
1、華為S3526交換機配置命令首先通過配置線連接電腦與交換機的console口,在電腦上按以下步驟打開超級終端連接交換機: 開始-程序-附件-通訊-超級終端 連接選擇COM口選擇還原默認值,按確定,即可與交換機交互 一、 視圖設置:<S3526> ······················· 接入交換機既進入用戶視圖,可查看交換機運行狀態<S3526
2、> system-view ·························· 進入系統視圖S3526 ···················
3、······· 系統視圖,可進行系統參數配置S3526 quit ·························· 返回用戶視圖<S3526>二、 還原出廠設置:只能在用戶視圖下<S3526> reset saved-configuratio
4、n ···························· 清除交換機配置文件This will delete the configuration in the flash memory.The switch configurations will be erased to reconfigure.Are you s
5、ure?Y/N ······················· 輸入Y,按回車確認清除交換機配置<S3526> reboot ···················
6、183;···重啟交換機This will reboot Switch. Continue? Y/N ················ 輸入Y,按回車確認重啟三、保存命令:<S3526> save ················
7、3;···········只能在用戶視圖下save保存數據This will save the configuration in the flash memory.The switch configurations will be written to flash.Are you sure?Y/N ················
8、;·············· 輸入Y,按回車確認當完成交換機配置后一定要記得 save 保存四、交換機命名<S3526> system-view ·························
9、· 進入系統視圖S3526 sysname BOSS ····················在系統視圖下將交換機名字命名為 BOSSBOSS ····················
10、83;··· 交換機名字已更改為 BOSS五、設置管理ipBOSS int vlan 1 ················· 進入vlan1 端口BOSS-Vlan-interface1 5.0 ············· 設置管理ip刪除管理vlan和ipBOSS i
11、nt vlan 1 ················· 進入vlan1 端口BOSS-Vlan-interface1 undo BOSS undo int vlan 1 六、查看信息BOSS dis curr ··················
12、183;············· 查看全部配置信息# sysname Quidway # radius scheme system server-type huawei primary authentication 127.0.0.1 1645 primary accounting 127.0.0.1 1646 user-name-format without-domain domain default enable system # local-server n
13、as-ip 127.0.0.1 key huawei # queue-scheduler wrr 1 2 4 8#vlan 1#vlan 25 description boss#description cmnet#interface Vlan-interface1#interface Aux0/0#interface Ethernet0/1 description up-to-608 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 18 25 40 101 738 800 995 1042 11
14、16查看端口信息BOSSdis cur int Ethernet 0/2#interface Ethernet0/2 description to lisi ······················· 對此端口的描述,描述為 to 李四 duplex full ········
15、3;·············· 此端口雙工模式配置為 全雙工 speed 100 ······················· 此端口速率配置為 100M flow-control ···
16、3;··················· 此端口已配置 流量控制 port access vlan 2 ······················· 此端口屬于 VLAN 2查
17、看vlan信息Quidwaydis vlan all VLAN ID: 1 VLAN Type: static Route Interface: not configured Description: VLAN 0001 Name: VLAN 0001 Tagged Ports: none Untagged Ports: Ethernet0/15 Ethernet0/16 Ethernet0/19 Ethernet0/20 Ethernet0/21 Ethernet0/22 Ethernet0/24 Ethernet0/25 VLAN ID: 25 VLAN Type: static Rout
18、e Interface: not configured Description: boss Name: VLAN 0025 Tagged Ports: Ethernet0/1 Untagged Ports: Ethernet0/17 Ethernet0/18 BOSS dis vlan 1 VLAN ID: 1 VLAN Type: static Route Interface: not configured Description: VLAN 0001 Name: VLAN 0001 Tagged Ports: none Untagged Ports: Ethernet0/15 Ethern
19、et0/16 Ethernet0/19 Ethernet0/20 Ethernet0/21 Ethernet0/22 Ethernet0/24 Ethernet0/25七、Telnet配置密碼認證模式,需要輸入password登錄交換機BOSS user-interface vty 0 4 BOSS-ui-vty0-4 authentication-mode password ···· 配置為密碼認證模式BOSS-ui-vty0-4 set authentication password simple huawei ···&
20、#183; 設置明文密碼為huaweiBOSS-ui-vty0-4 user privilege level 3 ··············· 設telnet權限等級為最高級3級配置本地TELNET用戶認證模式,需要輸入username和password才可以登陸交換機BOSS user-interface vty 0 4 BOSS-ui-vty0-4 authentication-mode scheme ···&
21、#183; 配置為本地TELNET用戶BOSS-ui-vty0-4 quit ······················· 返回系統視圖BOSS local-user boss ················
22、;······ 建立本地用戶,名字為bossBOSS-luser-boss password simple 111 ··········· 設置明文密碼為 111BOSS-luser-boss service-type telnet level 3 ·········設telnet權限等級為最高級3級 (注意:若不是等級3,可以登錄到交換
23、機,但無法對交換機進行配置)設置以上命令后,從電腦連根網線到交換機以太網口(注意:接入的網口必須是屬于管理vlan的,可通過 dis vlan all 查看哪些網口屬于管理vlan), 即可通過 telent 192.168.1.175 管理交換機,telnet后需要輸入用戶名boss和密碼 111 才可與交換機交互。管理ip,用戶名和密碼可通過console口的連接使用 dis cur 命令來查看BOSS dis cur# sysname BOSS#radius scheme system server-type huawei 1645 primary accounting 127.0.0.
24、1 1646 user-name-format without-domainlocal-user boss ···························用戶名 password simple 111 ··········
25、················密碼 service-type telnet level 3 ··························telnet權限等級#vlan 1
26、 description manage-vlan name admin#vlan 2#vlan 3#interface Vlan-interface1 ························ vlan 1 ············
27、·· 管理ip七、交換機端口配置BOSS int Ethernet 0/2 ···························· 進入端口Ethernet 0/2關閉端口與開啟端口BOSS-Ethernet0/2 shutdown ·····
28、183;················· 關閉Ethernet0/2 端口BOSS-Ethernet0/2 undo shutdown ·················· 重新開啟Ethernet0/2 端口端口描述BOSS-Ethernet0/
29、2 description to lisi ···········對端口進行描述,例如,此端口是連接到李四的電腦上,可描述為 to lisi 配置交換機速率與雙工模式BOSS-Ethernet0/2speed ? ·······················
30、·········· 設置端口速率 10 Specify speed of current port 10Mb/s ················ 10M 100 Specify speed of current port 100Mb/s ········&
31、#183;······· 100M auto Enable port's speed negotiation automatically ··········· 自動協商BOSS-Ethernet0/2duplex ? ················
32、················· 設置端口雙工模式 auto Enable port's duplex negotiation automatically ········ 自動協商 full Full-duplex ··········&
33、#183;······················ 全雙工 half Half-duplex ·······················
34、83;········· 半雙工配置端口的鏈路類型,默認為 accessBOSS-Ethernet0/2 port link-type ? access Access link-type ···················· 一般情況下使用access hybrid Hybrid VLAN link-ty
35、pe trunk VLAN trunk link-type ················· 交換機級聯的端口采用trunk查看全接口狀態BOSS dis brief intInterface : EEthernet , G-GigabitEthernet , VlanIF-Vlan-interfaceLink : ADMDOWN-ADMINISTRATIVELY DOWN Speed : a-auto Duplex : a
36、-autoInterface Description Link Speed Duplex Link-type PVID Port-typeAux0/0 HUAWEI, Quidway UP - - - - -E0/1 DOWN a a access 1 100BASE-TXE0/2 to lisi DOWN a a access 2 100BASE-TXE0/3 DOWN a a access 2 100BASE-TXE0/4 DOWN a a access 2 100BASE-TXE0/5 DOWN a a access 3 100BASE-TXE0/6 DOWN a a access 3
37、100BASE-TXE0/7 DOWN a a access 3 100BASE-TXE0/8 DOWN a a trunk 1 100BASE-TX.E0/21 DOWN a a access 1 100BASE-TXE0/22 UP a100M afull access 1 100BASE-TXE0/23 DOWN a a access 1 100BASE-TXE0/24 DOWN a a access 1 100BASE-TX查看全接口配置dis cur int#interface Vlan-interface1#interface Aux0/0#interface Ethernet0/
38、1#interface Ethernet0/2 description to lisi port access vlan 2#interface Ethernet0/3 port access vlan 2#interface Ethernet0/4 port access vlan 2#interface Ethernet0/5 port access vlan 3#interface Ethernet0/6 port access vlan 3#interface Ethernet0/7 port access vlan 3#interface Ethernet0/8 port link-
39、type trunk port trunk permit vlan all#.#interface Ethernet0/23#interface Ethernet0/24#查看單個接口配置BOSS-Ethernet0/2 dis cur int e0/2#interface Ethernet0/2 description to lisi port access vlan 2八、交換機VLAN配置首先劃分vlanBOSS vlan 2 ·············
40、83;························· 創建vlan 2,并進入vlan 2BOSS-vlan2 port Ethernet 0/2 ················
41、83;········· 把端口0/2放入vlan2BOSS-vlan2 port Ethernet 0/3 to Ethernet 0/4 ············ 把端口0/3到0/4放入vlan2BOSS vlan 3 ·············
42、3;························ 創建vlan 3,并進入vlan 3BOSS-vlan3 port Ethernet 0/5 to Ethernet 0/7 ············ 把端口0/5到0/7放入vlan2
43、接下來把交換機級聯端口設為trunk 模式BOSS int Ethernet 0/8BOSS-Ethernet0/8 port link-type trunk BOSS-Ethernet0/8 port trunk permit vlan all查看vlanBOSSdis vlan all ··············· 查看每一個VLAN里包含哪些端口 VLAN ID: 1 ······
44、;······························· 此VLAN 為VLAN 1 VLAN Type: static ARP proxy disabled. Route Interface: configured Description: manage-vlan Name: a
45、dmin Tagged Ports: none Untagged Ports: Ethernet0/1 Ethernet0/8 Ethernet0/9 Ethernet0/10 Ethernet0/11 Ethernet0/12 Ethernet0/13 Ethernet0/14 Ethernet0/15 Ethernet0/16 Ethernet0/17 Ethernet0/18 Ethernet0/19 Ethernet0/20 Ethernet0/21 Ethernet0/22 Ethernet0/23 Ethernet0/24 VLAN ID: 2 ···
46、·································· 此VLAN 為VLAN 2 VLAN Type: static ARP proxy disabled. Route Interface: not configured Description: VLAN 0002 Name: VLAN 0002 Tagged Ports: Ethernet0/8 Untagged Ports: Ethernet0/2 Ethernet0/3 Ethernet0/4 VLAN ID: 3 ···
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 戀愛期間行為規范及婚后共同財產保護協議
- 房地產項目標識標牌制作與安裝服務協議
- Brand KPIs for hotels:ITC in India-英文培訓課件2025.5
- Brand KPIs for neobanking Wise in the United Kingdom-英文培訓課件2025.4
- 2025年法律專業研究生入學考試試題及答案
- 2025年國際關系與全球治理基礎知識考試卷及答案
- 2025年心理測量學考試試題及答案
- 2025年財務管理師資格考試試題及答案
- 畢業發言稿范文高中
- 倉儲物流園區物業管理與運輸合同
- 國際化創新型人才培養模式與中俄合作辦學實踐案例分析
- 附件6工貿高風險企業高危領域較大以上安全風險管控清單
- 一次性使用無菌醫療器械管理制度
- 浙江省2025年中考第二次模擬考試英語試題(含答案無聽力原文及音頻)
- 初創公司薪酬方案
- 2025年大學期末民法試題及答案
- 2025年保安證考試答題技巧與試題答案
- 大學物理畢奧-薩伐爾定律
- 中醫兒科學研究進展知到課后答案智慧樹章節測試答案2025年春浙江中醫藥大學
- 食品安全防護計劃評估表
- 2016中國石油石化企業信息技術交流大會論文公示名單
評論
0/150
提交評論