欢迎来到天天文库
浏览记录
ID:35515306
大小:45.00 KB
页数:4页
时间:2019-03-25
《pt实验交换机的基本配置与管理》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、PT实验(一)交换机的基本配置与管理一、实验目标掌握交换机基本信息的配置与管理二、技术原理交换机的管理方式基本分为两种:带内管理和带外管理。通过交换机的Console端口管理交换机属于带外管理:这种管理方式不占用交换机的网络端口,第一次配置交换机必须利用Console端口进行配置。通过远程Telnet、拨号等方式属于带内管理。三、交换机的命令行操作模式主要包括:用户模式Switch>特权模式Switch#全局配置模式Switch(config)#端口模式Switch(config-if)#四、实验步骤1、实验拓扑2、交换机基本配置命令a.进入特权模式Switch>enable//en
2、=enableSwitch#b.进入全局配置模式Switch#configureterminal//conft=configureterminalEnterconfigurationcommands,oneperline.EndwithCNTL/Z.c.进入交换机端口视图模式Switch(config)#interfacefastEthernet0/1//intf0/1=interfacefastEthernet0/1Switch(config-if)#d.配置交换机端口速度Switch(config-if)#speed?10Force10Mbpsoperation//速度为10M1
3、00Force100Mbpsoperation//速度为100MautoEnableAUTOspeedconfiguration//自动匹配Switch(config-if)#speed1004e.配置交换机端口双工模式Switch(config-if)#duplex?autoEnableAUTOduplexconfiguration//自动匹配fullForcefullduplexoperation//双工模式halfForcehalf-duplexoperation//单工模式Switch(config-if)#duplexfullf.退回到上一级模式Switch(config-
4、if)#exitSwitch(config)#g.直接退回到特权模式Switch(config-if)#endSwitch#%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsoleSwitch#h.查看交换机版本信息Switch#showversionCiscoIOSSoftware,C2960Software(C2960-LANBASE-M),Version12.2(25)FX,RELEASESOFTWARE(fc1)Copyright(c)1986-2005byCiscoSystems,Inc.CompiledWed12-Oct-0522:05
5、bypt_teamROM:C2960BootLoader(C2960-HBOOT-M)Version12.2(25r)FX,RELEASESOFTWARE(fc4)SystemreturnedtoROMbypower-onCiscoWS-C2960-24TT(RC32300)processor(revisionC0)with21039Kbytesofmemory.FastEthernet/IEEE802.3interface(s)GigabitEthernet/IEEE802.3interface(s)Kbytesofflash-simulatednon-volatileconfig
6、urationmemory.BaseethernetMACAddress:0040.0B69.8831Motherboardassemblynumber:73-9832-06Powersupplypartnumber:341-0097-02Motherboardserialnumber:FOC103248MJPowersupplyserialnumber:DCA102133JAModelrevisionnumber:B0Motherboardrevisionnumber:C0Modelnumber:WS-C2960-24TTSystemserialnumber:FOC1033Z1EY
7、--More--...Configurationregisteris0xFi.查看当前生效的配置信息 Switch#showrunning-config //交换机设置完后必须执行此指令,相当于保存。4Buildingconfiguration...Currentconfiguration:1033bytes!version12.2noservicetimestampslogdatetimemsecnoservicetimestampsdebu
此文档下载收益归作者所有