欢迎来到天天文库
浏览记录
ID:41724089
大小:81.51 KB
页数:9页
时间:2019-08-30
《练习—配置Cisco交换机配置VLAN》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、交换机基础及VLAN配置练习⑴——配置Cisco交换机要配置好Cisco交换必需要熟悉配置命令及相关的知识。一、几种配置命令模式switch〉这种提示符表示是在用户命令模式,只能使用一些查看命令。switch#这种提示符表示是在特权命令模式。switch(config)#这种提示符农示是全局配置模式switch(config-if)#端口配置命令模式i>l>enable1#丄#disablel>enablel#conftEnterconfigurationcomiaandsoneperline.En
2、dwith.(1(config)^hostnameCoreSWCoreSW(config)nterfacef0/1CoreSW(config-if)图1几种命令模式二、检查、查看命令这些命令是杳看当前配置状况,通常是以show(sh)为开始的命令。showversion查看10S的版本、showflash查看flash内存使用状况、showmac-address-table查看MAC地址列表CoreSW#showversionCiscoIOSSoftware3、LANBASE-M)zVersion丄Z・2(25)FXZRELEASESOFTWARE(fcl)Copyright.(c)1986-2005byCiscoSystemszInc・CompiledWed12-0ct-0S22:05bypt_teaiaROM:CZ960BootLoader(C2960-HB00T-M)Version12.2(2Sr)FX^RELEASESOFTWARE(fc4)SystemreturnedtoROMbypower-onCiscoWS-C2960-24TT(RC32304、0)processor(revisionCO)with21039Kbytesofmemor24Fast.Et.hemet./IEEE80Z.3interface(s)ZGigabit.Et-hemet/IEEE802・3interface(s)64Kbytesofflash-simulatednon-vo1at.i1econfigurate:Baseet.HemetMACAddress:0001.43勺7.DD14Motherboardassemblynuiotoer:73-9832-06CoreS5、WshflashDirectoryofflash:/-rw-4414921c2960-lanbase-iaz.122-25.FX.bin64016384bytestotal(59601463bytesfree)CoreSW#图3CoreSW#shmac-address-tableMacAddressTableVianMacAddressTypePortsOOOd・b&8c.62dDYNAMIC1CoreSW#6、OOd0.baa9.97ScDYNAMICFaO/2FaO/1arpboo7、tcdpclockCDPinformat-iondtpflash:DisplaythesystemclockDTPinformat-ionhistoryhostsinterfacesiPmac-address-tabledisplayinformationaboutflash:filesystemDisplaythesessioncommandhistoryIPdomain-namerlookupstylernaiaeserversandhosttableInterfacestatusandconf8、igurationIPinformationport-securityprocessesrunning-configsessionsMACforwardingtableShowsecureport,inforiaationActiveprocessstatisticsCurrentoperatingconfigurat-ionInformationaboutTelnetconnectionsspanning-treestartup-configtcpterminalSpanningtreetopol9、ogyContentsofstartupconfigurat-ionStatusofTCPconnectionsusersversionvlanDisplayterminalconfigurationDisplayinformationabouttermSystemhardwareandsoftwarestatusVTPVLANstatusvtpCoreSWshowVTPinformationCoreSWshow?ArptableshowbootattributesS
3、LANBASE-M)zVersion丄Z・2(25)FXZRELEASESOFTWARE(fcl)Copyright.(c)1986-2005byCiscoSystemszInc・CompiledWed12-0ct-0S22:05bypt_teaiaROM:CZ960BootLoader(C2960-HB00T-M)Version12.2(2Sr)FX^RELEASESOFTWARE(fc4)SystemreturnedtoROMbypower-onCiscoWS-C2960-24TT(RC3230
4、0)processor(revisionCO)with21039Kbytesofmemor24Fast.Et.hemet./IEEE80Z.3interface(s)ZGigabit.Et-hemet/IEEE802・3interface(s)64Kbytesofflash-simulatednon-vo1at.i1econfigurate:Baseet.HemetMACAddress:0001.43勺7.DD14Motherboardassemblynuiotoer:73-9832-06CoreS
5、WshflashDirectoryofflash:/-rw-4414921c2960-lanbase-iaz.122-25.FX.bin64016384bytestotal(59601463bytesfree)CoreSW#图3CoreSW#shmac-address-tableMacAddressTableVianMacAddressTypePortsOOOd・b&8c.62dDYNAMIC1CoreSW#
6、OOd0.baa9.97ScDYNAMICFaO/2FaO/1arpboo
7、tcdpclockCDPinformat-iondtpflash:DisplaythesystemclockDTPinformat-ionhistoryhostsinterfacesiPmac-address-tabledisplayinformationaboutflash:filesystemDisplaythesessioncommandhistoryIPdomain-namerlookupstylernaiaeserversandhosttableInterfacestatusandconf
8、igurationIPinformationport-securityprocessesrunning-configsessionsMACforwardingtableShowsecureport,inforiaationActiveprocessstatisticsCurrentoperatingconfigurat-ionInformationaboutTelnetconnectionsspanning-treestartup-configtcpterminalSpanningtreetopol
9、ogyContentsofstartupconfigurat-ionStatusofTCPconnectionsusersversionvlanDisplayterminalconfigurationDisplayinformationabouttermSystemhardwareandsoftwarestatusVTPVLANstatusvtpCoreSWshowVTPinformationCoreSWshow?ArptableshowbootattributesS
此文档下载收益归作者所有