華為路由器配置___交換機命令

華為路由器配置___交換機命令

ID:39585707

大?。?3.50 KB

頁數(shù):22頁

時間:2019-07-06

華為路由器配置___交換機命令_第1頁
華為路由器配置___交換機命令_第2頁
華為路由器配置___交換機命令_第3頁
華為路由器配置___交換機命令_第4頁
華為路由器配置___交換機命令_第5頁
資源描述:

《華為路由器配置___交換機命令》由會員上傳分享,免費在線閱讀,更多相關內(nèi)容在工程資料-天天文庫

1、華為路由器配置___交換機命令1.在基于IOS的交換機上設置主機名/系統(tǒng)名:switch(config)#hostnamehostname在基于CLI的交換機上設置主機名/系統(tǒng)名:switch(enable)setsystemnamename-string2.在基于IOS的交換機上設置登錄口令:switch(config)#enablepasswordlevel1password在基于CLI的交換機上設置登錄口令:switch(enable)setpasswordswitch(enable)setenalbepass3.在基于IOS的交換機上設置遠程訪問:switch(confi

2、g)#interfacevlan1switch(config-if)#ipaddressip-addressnetmaskswitch(config-if)#ipdefault-gatewayip-address在基于CLI的交換機上設置遠程訪問:switch(enable)setinterfacesc0ip-addressnetmaskbroadcast-addressswitch(enable)setinterfacesc0vlanswitch(enable)setiproutedefaultgateway4.在基于IOS的交換機上啟用和瀏覽CDP信息:switch(conf

3、ig-if)#cdpenableswitch(config-if)#nocdpenable為了查看Cisco鄰接設備的CDP通告信息:switch#showcdpinterface[typemodle/port]switch#showcdpneighbors[typemodule/port][detail]在基于CLI的交換機上啟用和瀏覽CDP信息:switch(enable)setcdp{enable

4、disable}module/port為了查看Cisco鄰接設備的CDP通告信息:switch(enable)showcdpneighbors[module/port][vlan

5、

6、duplex

7、capabilities

8、detail]5.基于IOS的交換機的端口描述:switch(config-if)#descriptiondescription-string基于CLI的交換機的端口描述:switch(enable)setportnamemodule/numberdescription-string6.在基于IOS的交換機上設置端口速度:switch(config-if)#speed{10

9、100

10、auto}在基于CLI的交換機上設置端口速度:switch(enable)setportspeedmoudle/number{10

11、100

12、auto}swit

13、ch(enable)setportspeedmoudle/number{4

14、16

15、auto}7.在基于IOS的交換機上設置以太網(wǎng)的鏈路模式:switch(config-if)#duplex{auto

16、full

17、half}在基于CLI的交換機上設置以太網(wǎng)的鏈路模式:switch(enable)setportduplexmodule/number{full

18、half}8.在基于IOS的交換機上配置靜態(tài)VLAN:switch#vlandatabaseswitch(vlan)#vlanvlan-numnamevlaswitch(vlan)#exitswitch#configureteri

19、minalswitch(config)#interfaceinterfacemodule/numberswitch(config-if)#switchportmodeaccessswitch(config-if)#switchportaccessvlanvlan-numswitch(config-if)#end在基于CLI的交換機上配置靜態(tài)VLAN:switch(enable)setvlanvlan-num[namename]switch(enable)setvlanvlan-nummod-num/port-list9.在基于IOS的交換機上配置VLAN中繼線:switch(co

20、nfig)#interfaceinterfacemod/portswitch(config-if)#switchportmodetrunkswitch(config-if)#switchporttrunkencapsulation{isl

21、dotlq}switch(config-if)#switchporttrunkallowedvlanremovevlan-listswitch(config-if)#switchporttrunkallowedvlanaddvlan-list在

當前文檔最多預覽五頁,下載文檔查看全文

此文檔下載收益歸作者所有

當前文檔最多預覽五頁,下載文檔查看全文
溫馨提示:
1. 部分包含數(shù)學公式或PPT動畫的文件,查看預覽時可能會顯示錯亂或異常,文件下載后無此問題,請放心下載。
2. 本文檔由用戶上傳,版權歸屬用戶,天天文庫負責整理代發(fā)布。如果您對本文檔版權有爭議請及時聯(lián)系客服。
3. 下載前請仔細閱讀文檔內(nèi)容,確認文檔內(nèi)容符合您的需求后進行下載,若出現(xiàn)內(nèi)容與標題不符可向本站投訴處理。
4. 下載文檔時可能由于網(wǎng)絡波動等原因無法下載或下載錯誤,付費完成后未能成功下載的用戶請聯(lián)系客服處理。