交换机命令-华为

交换机命令-华为

ID:39583447

大小:50.00 KB

页数:10页

时间:2019-07-06

交换机命令-华为_第1页
交换机命令-华为_第2页
交换机命令-华为_第3页
交换机命令-华为_第4页
交换机命令-华为_第5页
资源描述:

《交换机命令-华为》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库

1、华为交换机命令1.在基于IOS的交换机上设置主机名/系统名:  switch(config)#hostnamehostname  在基于CLI的交换机上设置主机名/系统名:  switch(enable)setsystemnamename-string  2.在基于IOS的交换机上设置登录口令:  switch(config)#enablepasswordlevel1password    在基于CLI的交换机上设置登录口令:  switch(enable)setpassword  switch(enable)setenalbepa

2、ss  3.在基于IOS的交换机上设置远程访问:  switch(config)#interfacevlan1  switch(config-if)#ipaddressip-addressnetmask  switch(config-if)#ipdefault-gatewayip-address  在基于CLI的交换机上设置远程访问:  switch(enable)setinterfacesc0ip-addressnetmaskbroadcast-address  switch(enable)setinterfacesc0vlan 

3、 switch(enable)setiproutedefaultgateway  4.在基于IOS的交换机上启用和浏览CDP信息:  switch(config-if)#cdpenable  switch(config-if)#nocdpenable  为了查看Cisco邻接设备的CDP通告信息:  switch#showcdpinterface[typemodle/port]  switch#showcdpneighbors[typemodule/port][detail]  在基于CLI的交换机上启用和浏览CDP信息:  swi

4、tch(enable)setcdp{enable

5、disable}module/port  为了查看Cisco邻接设备的CDP通告信息:  switch(enable)showcdpneighbors[module/port][vlan

6、duplex

7、capabilities

8、detail]  5.基于IOS的交换机的端口描述:  switch(config-if)#descriptiondescription-string  基于CLI的交换机的端口描述:  switch(enable)setportnamemodule/numb

9、erdescription-string  6.在基于IOS的交换机上设置端口速度:  switch(config-if)#speed{10

10、100

11、auto}  在基于CLI的交换机上设置端口速度:  switch(enable)setportspeedmoudle/number{10

12、100

13、auto}  switch(enable)setportspeedmoudle/number{4

14、16

15、auto}  7.在基于IOS的交换机上设置以太网的链路模式:  switch(config-if)#duplex{auto

16、full

17、

18、half}  在基于CLI的交换机上设置以太网的链路模式:  switch(enable)setportduplexmodule/number{full

19、half}  8.在基于IOS的交换机上配置静态VLAN:  switch#vlandatabase  switch(vlan)#vlanvlan-numnamevla  switch(vlan)#exit  switch#configureteriminal  switch(config)#interfaceinterfacemodule/number  switch(confi

20、g-if)#switchportmodeaccess  switch(config-if)#switchportaccessvlanvlan-num  switch(config-if)#end  在基于CLI的交换机上配置静态VLAN:  switch(enable)setvlanvlan-num[namename]  switch(enable)setvlanvlan-nummod-num/port-list  9.在基于IOS的交换机上配置VLAN中继线:  switch(config)#interfaceinterfacem

21、od/port  switch(config-if)#switchportmodetrunk  switch(config-if)#switchporttrunkencapsulation{isl

22、dotlq}  switch(con

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。