CSCIO交换机口令大全

上传人:woxinch****an2018 文档编号:38982515 上传时间:2018-05-10 格式:DOC 页数:11 大小:77KB
返回 下载 相关 举报
CSCIO交换机口令大全_第1页
第1页 / 共11页
CSCIO交换机口令大全_第2页
第2页 / 共11页
CSCIO交换机口令大全_第3页
第3页 / 共11页
CSCIO交换机口令大全_第4页
第4页 / 共11页
CSCIO交换机口令大全_第5页
第5页 / 共11页
点击查看更多>>
资源描述

《CSCIO交换机口令大全》由会员分享,可在线阅读,更多相关《CSCIO交换机口令大全(11页珍藏版)》请在金锄头文库上搜索。

1、1.1.在基于在基于 IOSIOS 的交换机上设置主机名的交换机上设置主机名/ /系统名系统名: : switch(config)#switch(config)# hostnamehostname hostnamehostname 在基于在基于 CLICLI 的交换机上设置主机名的交换机上设置主机名/ /系统名系统名: : switch(enable)switch(enable) setset systemsystem namename name-stringname-string 2.2.在基于在基于 IOSIOS 的交换机上设置登录口令的交换机上设置登录口令: : switch(confi

2、g)#switch(config)# enableenable passwordpassword levellevel 1 1 passwordpassword 在基于在基于 CLICLI 的交换机上设置登录口令的交换机上设置登录口令: : switch(enable)switch(enable) setset passwordpassword switch(enable)switch(enable) setset enalbepassenalbepass 3.3.在基于在基于 IOSIOS 的交换机上设置远程访问的交换机上设置远程访问: : switch(config)#switch(con

3、fig)# interfaceinterface vlanvlan 1 1 switch(config-if)#switch(config-if)# ipip addressaddress ip-addressip-address netmasknetmask switch(config-if)#switch(config-if)# ipip default-gatewaydefault-gateway ip-addressip-address 在基于在基于 CLICLI 的交换机上设置远程访问的交换机上设置远程访问: : switch(enable)switch(enable) setset

4、 interfaceinterface sc0sc0 ip-addressip-address netmasknetmask broadcast-addressbroadcast-address switch(enable)switch(enable) setset interfaceinterface sc0sc0 vlanvlan switch(enable)switch(enable) setset ipip routeroute defaultdefault gatewaygateway 4.4.在基于在基于 IOSIOS 的交换机上启用和浏览的交换机上启用和浏览 CDPCDP 信息信

5、息: : switch(config-if)#switch(config-if)# cdpcdp enableenable switch(config-if)#switch(config-if)# nono cdpcdp enableenable 为了查看为了查看 CiscoCisco 邻接设备的邻接设备的 CDPCDP 通告信息通告信息: : switch#switch# showshow cdpcdp interfaceinterface typetype modle/portmodle/port switch#switch# showshow cdpcdp neighborsneighb

6、ors typetype module/portmodule/port detaildetail 在基于在基于 CLICLI 的交换机上启用和浏览的交换机上启用和浏览 CDPCDP 信息信息: : switch(enable)switch(enable) setset cdpcdp enable|disableenable|disable module/portmodule/port 为了查看为了查看 CiscoCisco 邻接设备的邻接设备的 CDPCDP 通告信息通告信息: : switch(enable)switch(enable) showshow cdpcdp neighborsmo

7、dule/portneighborsmodule/port vlan|duplex|capabilities|detailvlan|duplex|capabilities|detail 5.5.基于基于 IOSIOS 的交换机的端口描述的交换机的端口描述: : switch(config-if)#switch(config-if)# descriptiondescription description-stringdescription-string 基于基于 CLICLI 的交换机的端口描述的交换机的端口描述: : switch(enable)setswitch(enable)set por

8、tport namename module/numbermodule/number description-stringdescription-string 6.6.在基于在基于 IOSIOS 的交换机上设置端口速度的交换机上设置端口速度: : switch(config-if)#switch(config-if)# speed10|100|autospeed10|100|auto 在基于在基于 CLICLI 的交换机上设置端口速度的交换机上设置端口速度: : switch(enable)switch(enable) setset portport speedspeed moudle/numb

9、ermoudle/number 10|100|auto10|100|auto switch(enable)switch(enable) setset portport speedspeed moudle/numbermoudle/number 4|16|auto4|16|auto 7.7.在基于在基于 IOSIOS 的交换机上设置以太网的链路模式的交换机上设置以太网的链路模式: : switch(config-if)#switch(config-if)# duplexduplex auto|full|halfauto|full|half 在基于在基于 CLICLI 的交换机上设置以太网的链路模

10、式的交换机上设置以太网的链路模式: : switch(enable)switch(enable) setset portport duplexduplex module/numbermodule/number full|halffull|half 8.8.在基于在基于 IOSIOS 的交换机上配置静态的交换机上配置静态 VLAN:VLAN: switch#switch# vlanvlan databasedatabase switch(vlan)#switch(vlan)# vlanvlan vlan-numvlan-num namename vlavla switch(vlan)#switc

11、h(vlan)# exitexit switch#switch# configureconfigure teriminalteriminal switch(config)#switch(config)# interfaceinterface interfaceinterface module/numbermodule/number switch(config-if)#switch(config-if)# switchportswitchport modemode accessaccess switch(config-if)#switch(config-if)# switchportswitch

12、port accessaccess vlanvlan vlan-numvlan-num switch(config-if)#switch(config-if)# endend 在基于在基于 CLICLI 的交换机上配置静态的交换机上配置静态 VLAN:VLAN: switch(enable)switch(enable) setset vlanvlan vlan-numvlan-num namename namename switch(enable)switch(enable) setset vlanvlan vlan-numvlan-num mod-num/port-listmod-num/p

13、ort-list 9.9. 在基于在基于 IOSIOS 的交换机上配置的交换机上配置 VLANVLAN 中继线中继线: : switch(config)#switch(config)# interfaceinterface interfaceinterface mod/portmod/port switch(config-if)#switch(config-if)# switchportswitchport modemode trunktrunk switch(config-if)#switch(config-if)# switchportswitchport trunktrunk encap

14、sulationencapsulation isl|dotlqisl|dotlq switch(config-if)#switch(config-if)# switchportswitchport trunktrunk allowedallowed vlanvlan removeremove vlan-listvlan-list switch(config-if)#switch(config-if)# switchportswitchport trunktrunk allowedallowed vlanvlan addadd vlan-listvlan-list 在基于在基于 CLICLI 的

15、交换机上配置的交换机上配置 VLANVLAN 中继线中继线: : switch(enable)switch(enable) setset trunktrunk module/portmodule/port on|off|desirable|auto|nonegotiateon|off|desirable|auto|nonegotiate Vlan-rangeVlan-range isl|dotlq|dotl0|lane|negotiateisl|dotlq|dotl0|lane|negotiate 10.10.在基于在基于 IOSIOS 的交换机上配置的交换机上配置 VTPVTP 管理域管理域: : switch#switch# vlanvlan databasedatabase switch(vlan)#switch(vlan)# vtpvtp domaindomain domain-namedomain-name 在基于在基于 CLICLI 的交换机上配置的交换机上配置 VTPVTP 管理域管理域: : switch(e

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 高等教育 > 其它相关文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号