思科路由器命令大全(完整版)

思科路由器命令大全(完整版)

ID:39577310

大小:70.00 KB

页数:10页

时间:2019-07-06

思科路由器命令大全(完整版)_第1页
思科路由器命令大全(完整版)_第2页
思科路由器命令大全(完整版)_第3页
思科路由器命令大全(完整版)_第4页
思科路由器命令大全(完整版)_第5页
资源描述:

《思科路由器命令大全(完整版)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、思科交换机路由器命令大全交换机命令:switch>         用户模式1:进入特权模式  enableswitch>enableswitch#2:进入全局配置模式  configureterminalswitch>enableswitch#configureterminalswitch(conf)#3:交换机命名hostnameaptech2950     以aptech2950为例switch>enableswitch#configureterminalswitch(conf)#hostnameaptch-2950aptech29

2、50(conf)#4:配置使能口令  enablepasswordcisco    以cisco为例switch>enableswitch#configureterminalswitch(conf)#hostnameaptch2950aptech2950(conf)#enablepasswordcisco5:配置使能密码  enablesecretciscolab    以cicsolab为例--设置禁用IP地址解析特性,设置启用消息同步特性switch>enableswitch#configureterminalswitch(conf)

3、#hostnameaptch2950aptech2950(conf)#enablesecretciscolabaptech2950(conf)#noipdomain-lookup                   -----设置禁用IP地址解析特性aptech2950(conf)#loggingsynchronous                    -----设置启用消息同步特性aptech2950(conf)#interfacerangefastethernet0/1-20aptech2950(conf-if-range)#sp

4、anning-treeportfast       -----设置快速端口aptech2950(conf)#interfacerangefastethernet0/23-24aptech2950(conf-if-range)#swichportmodetrunk                 -----设置主干道端口aptech2950(conf)#spanning-treeuplingkfast                        ---设置阻塞启用迅速(只可以在访问层启用)6:设置虚拟局域网vlan1   interfac

5、evlan1switch>enableswitch#configureterminalswitch(conf)#hostnameaptch2950aptech2950(conf)#interfacevlan1aptech2950(conf-if)#ipaddress192.168.1.1255.255.255.0      配置交换机端口ip和子网掩码aptech2950(conf-if)#noshut                              是配置处于运行中aptech2950(conf-if)#exitaptech2

6、950(conf)#ipdefault-gateway192.168.254             设置网关地址7:进入交换机某一端口interfacefastehernet0/17           以17端口为例switch>enableswitch#configureterminalswitch(conf)#hostnameaptch2950aptech2950(conf)#interfacefastehernet0/17aptech2950(conf-if)#8:查看命令  showswitch>enableswitch#sh

7、owversion  察看系统中的所有版本信息showinterfacevlan1  查看交换机有关ip协议的配置信息showrunning-configure查看交换机当前起作用的配置信息showinterfacefastethernet0/1  察看交换机1接口具体配置和统计信息showmac-address-table        查看mac地址表showmac-address-tableaging-time  查看mac地址表自动老化时间9:交换机恢复出厂默认恢复命令switch>enableswitch#erasestartu

8、p-configureswitch#reload10:双工模式设置switch>enableswitch#configureterminalswitch2950(conf)#hostnamea

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

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

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