cisco交换机配置命令全集

cisco交换机配置命令全集

ID:22679360

大小:47.01 KB

页数:7页

时间:2018-10-30

cisco交换机配置命令全集_第1页
cisco交换机配置命令全集_第2页
cisco交换机配置命令全集_第3页
cisco交换机配置命令全集_第4页
cisco交换机配置命令全集_第5页
资源描述:

《cisco交换机配置命令全集》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库

1、CISCO交换机配置命令大全1.在基于IOS的交换机上设置主机名/系统名:switch(config)#hostnamehostname2.在基于IOS的交换机上设置登录口令:switch(config)#enablepasswordlevel1password3.在基于IOS的交换机上设置远程访问:switch(config)#interfacevlan1switch(config-if)#ipaddressip-addressnetmaskswitch(config-if)#ipdefault-gateway

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

3、port][vlan

4、duplex

5、capabilities

6、detail]5.基于IOS的交换机的端口描述:switch(config-if)#descriptiondescription-string6.在基于IOS的交换机上设置端口速度:switch(config-if)#speed{10

7、100

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

9、full

10、half}8.在基于IOS的交换机上配置静态VLAN:switch#vlandata

11、baseswitch(vlan)#vlanvlan-numnamevlaswitch(vlan)#exitswitch#configureteriminalswitch(config)#interfaceinterfacemodule/numberswitch(config-if)#switchportmodeaccessswitch(config-if)#switchportaccessvlanvlan-numswitch(config-if)#end9.在基于IOS的交换机上配置VLAN中继线:switch(

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

13、dotlq}switch(config-if)#switchporttrunkallowedvlanremovevlan-listswitch(config-if)#switchporttrunkallowedvlanaddvlan-list10.在基于IOS的交换机上配置

14、VTP管理域:switch#vlandatabaseswitch(vlan)#vtpdomaindomain-name11.在基于IOS的交换机上配置VTP模式:switch#vlandatabaseswitch(vlan)#vtpdomaindomain-nameswitch(vlan)#vtp{sever

15、cilent

16、transparent}switch(vlan)#vtppasswordpassword12.在基于IOS的交换机上配置VTP版本:switch#vlandatabaseswitch(vlan

17、)#vtpv2-mode13.在基于IOS的交换机上启动VTP剪裁:switch#vlandatabaseswitch(vlan)#vtppruning14.在基于IOS的交换机上配置以太信道:switch(config-if)#portgroupgroup-number[distribution{source

18、destination}]15.在基于IOS的交换机上调整根路径成本:switch(config-if)#spanning-tree[vlanvlan-list]costcost16.在基于IOS的交换机

19、上调整端口ID:switch(config-if)#spanning-tree[vlanvlan-list]port-priorityport-priority17.在基于IOS的交换机上修改STP时钟:switch(config)#spanning-tree[vlanvlan-list]hello-timesecondsswitch(config)#spanning-t

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

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

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