資源描述:
《華三配置大全》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫。
1、一.用戶配置:system-view[H3C]superpasswordH3C????設(shè)置用戶分級密碼[H3C]undosuperpassword????刪除用戶分級密碼[H3C]localuserbigheap1234561????Web網(wǎng)管用戶設(shè)置,1(缺?。楣芾砑売脩?缺省admin,admin[H3C]undolocaluserbigheap????刪除Web網(wǎng)管用戶[H3C]user-interfaceaux0????只支持0[H3C-Aux]idle-timeout250????設(shè)置超時(shí)為2分50秒,若為0則表示不超時(shí),默認(rèn)為5分鐘[H3C-Aux
2、]undoidle-timeout????恢復(fù)默認(rèn)值[H3C]user-interfacevty0????只支持0和1[H3C-vty]idle-timeout250????設(shè)置超時(shí)為2分50秒,若為0則表示不超時(shí),默認(rèn)為5分鐘[H3C-vty]undoidle-timeout????恢復(fù)默認(rèn)值[H3C-vty]setauthenticationpassword123456????設(shè)置telnet密碼,必須設(shè)置[H3C-vty]undosetauthenticationpassword????取消密碼[H3C]displayusers????顯示用戶[H3C]displa
3、yuser-interface????顯示用戶界面狀態(tài)二.系統(tǒng)IP配置:[H3C]vlan20[H3C]management-vlan20[H3C]interfacevlan-interface20????創(chuàng)建并進(jìn)入管理VLAN[H3C]undointerfacevlan-interface20????刪除管理VLAN接口[H3C-Vlan-interface20]ipaddress192.168.1.2255.255.255.0????配置管理VLAN接口靜態(tài)IP地址(缺省為192.168.0.234)[H3C-Vlan-interface20]undoipaddres
4、s????刪除IP地址[H3C-Vlan-interface20]ipgateway192.168.1.1????指定缺省網(wǎng)關(guān)(默認(rèn)無網(wǎng)關(guān)地址)[H3C-Vlan-interface20]undoipgateway[H3C-Vlan-interface20]shutdown????關(guān)閉接口[H3C-Vlan-interface20]undoshutdown????開啟[H3C]displayip????顯示管理VLAN接口IP的相關(guān)信息[H3C]displayinterfacevlan-interface20????查看管理VLAN的接口信息debuggingi
5、p????開啟IP調(diào)試功能undodebuggingip三.DHCP客戶端配置:[H3C-Vlan-interface20]ipaddressdhcp-alloc????管理VLAN接口通過DHCP方式獲取IP地址[H3C-Vlan-interface20]undoipaddressdhcp-alloc????取消[H3C]displaydhcp????顯示DHCP客戶信息debuggingdhcp-alloc????開啟DHCP調(diào)試功能undodebuggingdhcp-alloc四.端口配置:[H3C]interfaceEthernet0
6、/3[H3C-Ethernet0/3]shutdown[H3C-Ethernet0/3]speed100????速率,可為10,100,1000和auto(缺省)[H3C-Ethernet0/3]duplexfull????雙工,可為half,full和auto(缺省)??光口和匯聚后不能配置[H3C-Ethernet0/3]flow-control????開啟流控,默認(rèn)為關(guān)閉[H3C-Ethernet0/3]broadcast-suppression20????設(shè)置抑制廣播百分比為20%,可取5,10,20,100,缺省為100,同時(shí)組播和未知單播也受此影響[H3C-E
7、thernet0/3]loopbackinternal????內(nèi)環(huán)測試[H3C-Ethernet0/3]loopbackexternal????外環(huán)測試,需插接自環(huán)頭,必須為全雙工或者自協(xié)商模式[H3C-Ethernet0/3]portlink-typetrunk????設(shè)置鏈路的類型為trunk,可為access(缺省),trunk[H3C-Ethernet0/3]porttrunkpvidvlan20????設(shè)置20為該trunk的缺省VLAN,默認(rèn)為1????????????????????????????(trunk線