1 / 7
文档名称:

思科交换机命令大全.doc.doc

格式:doc   页数:7页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

思科交换机命令大全.doc.doc

上传人:crh53719 2016/4/3 文件大小:0 KB

下载得到文件列表

思科交换机命令大全.doc.doc

相关文档

文档介绍

文档介绍:思科交换机命令大全 1. 设置主机名/ 系统名 IOS : switch(config)# hostname "hostname" CLI : switch(enable) set system name name-string 2 .设置登录口令 IOS : switch(config)# enable password level 1 password CLI : switch(enable) set password switch(enable) set enalbepass 3 .设置远程访问 IOS : switch(config)# interface vlan 1 switch(config-if)# ip address ip-mask switch(config-if)# ip default-gateway ip-address CLI : switch(enable) set interface sc0 ip-mask broadcast-address switch(enable) set interface sc0 vlan switch(enable) set ip route default gateway 4 .启用和浏览 CDP 信息 IOS : switch(config-if)# cdp enable switch(config-if)# no cdp enable CLI : switch(enable) set cdp {enable|disable} module/port 5 .查看 Cisco 邻接设备的 CDP 通告 IOS : switch# show cdp interface [type modle/port] switch# show cdp neighbors [type module/port] [detail] CLI : switch(enable) show cdp neighbors[module/port] [vlan|duplex|capabilities|detail] 6 .端口描述 IOS : switch(config-if)#description escription-string CLI : switch(enable)set port name module/number description-string 7 .设置端口速度 IOS : switch(config-if)# speed{10|100|auto} CLI : switch(enable) set port speed moudle/number {10|100|auto} switch(enable) set port speed moudle/number {4|16|auto} 8 .设置以太网的链路模式 IOS : switch(config-if)# duplex {auto|full|half} CLI : switch(enable) set port duplex module/number {full|half} 9 .配置静态 VLAN IOS : switch# vlan database switch(vlan)# vlan vlan-num name vla switc