1 / 16
文档名称:

思科交换机路由器命令大全.doc

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

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

分享

预览

思科交换机路由器命令大全.doc

上传人:2982835315 2019/12/27 文件大小:50 KB

下载得到文件列表

思科交换机路由器命令大全.doc

文档介绍

文档介绍:思科交换机路由器命令大全交换机命令:1:用户模式switch> 进入特权模式  switch>enableswitch#2:进入全局配置模式  switch>enableswitch#configureterminalswitch(config)#3:交换机命名hostnameaptech2950     以aptech2950为例switch>enableswitch#configureterminalswitch(conf)#hostnameaptch-2950aptech2950(conf)#4:配置使能口令 enablepasswordcisco    以cisco为例switch>enableswitch#configureterminalswitch(conf)#hostnameaptch2950aptech2950(conf)#enablepasswordcisco5:配置使能密码  enablesecretciscolab    以cicsolab为例--设置禁用IP地址解析特性,设置启用消息同步特性switch>enableswitch#configureterminalswitch(conf)#hostnameaptch2950aptech2950(conf)#enablesecretciscolabaptech2950(conf)#noipdomain-lookup     -----设置禁用IP地址解析特性aptech2950(conf)#loggingsynchronous     -----设置启用消息同步特性aptech2950(conf)#0/1-20aptech2950(conf-if-range)#spanning-treeportfast    -----设置快速端口aptech2950(conf)#0/23-24aptech2950(conf-if-range)#swichportmodetrunk    -----设置主干道端口aptech2950(conf)#spanning-treeuplingkfast     ---设置阻塞启用迅速(只可以在访问层启用)6:设置虚拟局域网vlan1   interfacevlan1switch>enableswitch#configureterminalswitch(conf)#hostnameaptch2950aptech2950(conf)#interfacevlan1aptech2950(conf-if)#  配置交换机端口ip和子网掩码aptech2950(conf-if)#noshut                         是配置处于运行中aptech2950(conf-if)#exitaptech2950(conf)#ipdefault-    设置网关地址7:0/17    以17端口为例switch>enableswitch#configureterminalswitch(conf)#hostnameaptch2950aptech2950(conf)#0/17aptech2950(conf-if)#8:查看命令  showswitch>enableswitch#showversion  察看系统中的所有版本信息showinterfacevlan1  查看交换机有关ip协议的配置信息showrunning-0/1  察看交换机1接口具体配置和统计信息showmac-address-table        查看mac地址表showmac-address-tableaging-time  查看mac地址表自动老化时间9:交换机恢复出厂默认恢复命令switch>enableswitch#erasestartup-configureswitch#reload10:双工模式设置switch>enableswitch#configureterminalswitch2950(conf)#hostnameaptch-2950aptech2950(conf)#0/17             以17端口为例aptech2950(conf-if)#duplexfull/half/auto   有full,half,auto三个可选项11:cdp相关命令switch>enableswitch#showcdp    0/17    查看17端口的cdp配置信息showcdptraffic     查看有关cdp包的统计信息showcdpnerghbors  列出与设备相连的cisco设备12:csico2950的密码恢复拔下交换机电源线。用手