企业三层架构配置实例_第1页
企业三层架构配置实例_第2页
企业三层架构配置实例_第3页
已阅读5页,还剩3页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、企业三层架构配置实例作者:救世主220实验日期:2015615实验拓扑如下:100,1.1,0/22611Router3iso半国电它iwptad;o1.1.1,1/24router0十router1FaO/OV/Svlan10vtan20vlar10vlan20vlanIQvlan20PC-PTPC2Fa0/21z*29gD-2*FaO/7聞3、口PG-PTPCOISProuter3配置:Router#showrunBuildingconfiguration.hostnameRouter!interfaceLoopbackOipaddress1.1.1.1255.255.255.0!spee

2、dautorouter2配置:Router#showrunBuildingconfiguration.Currentconfiguration:979bytes!version12.4noservicetimestampslogdatetimemsecnoservicetimestampsdebugdatetimemsecnoservicepassword-encryption!hostnameRouter!interfaceFastEthernetO/Oipnatoutsideduplexautospeedauto!interfaceFastEthernet0/1ipnatinsidedup

3、lexautospeedauto!interfaceFastEthernet1/0ipnatinsideduplexautospeedauto!routerospf110log-adjacency-changesdefault-informationoriginate!access-list1permit10.0.0.00.255.255.255!Router1配置:Router#showrunBuildingconfiguration.Currentconfiguration:835bytes!version12.4noservicetimestampslogdatetimemsecnose

4、rvicetimestampsdebugdatetimemsecnoservicepassword-encryption!hostnameRouter!interfaceFastEthernetO/Oduplexautospeedauto!interfaceFastEthernet0/1duplexautospeedauto!interfaceFastEthernet1/0duplexautospeedauto!routerospf110log-adjacency-changesnetwork10.0.0.00.255.255.255area0!Router0配置:Router#showrun

5、Buildingconfiguration.Currentconfiguration:757bytes!version12.4noservicetimestampslogdatetimemsecnoservicetimestampsdebugdatetimemsecnoservicepassword-encryptionhostnameRouterinterfaceFastEthernetO/Oduplexautospeedauto!interfaceFastEthernet0/1duplexautospeedauto!interfaceFastEthernet1/0duplexautospe

6、edauto!routerospf110log-adjacency-changes(左边)配置:Switch#showrunBuildingconfiguration.Currentconfiguration:2507bytes!version12.2noservicetimestampslogdatetimemsecnoservicetimestampsdebugdatetimemsecnoservicepassword-encryption!hostnameSwitchipdhcpexcluded-address10.0.7.110.0.7.99ipdhcpexcluded-address

7、10.0.8.110.0.8.99!ipdhcppoolvlan10dns-server8.888ipdhcppoolvian20dns-server8.888iprouting!spanning-treemodepvstspanning-treevlan10priority24576spanning-treevlan20priority28672!interfacePort-channel1switchporttrunkencapsulationdot1qswitchportmodetrunk!interfaceFastEthernet0/1speedauto!interfaceFastEt

8、hernet0/2switchporttrunkallowedvlan10,20switchporttrunkencapsulationdot1qswitchportmodetrunk!interfaceFastEthernet0/3switchporttrunkallowedvlan10,20switchporttrunkencapsulationdot1qswitchportmodetrunk!interfaceFastEthernet0/4channel-group1modeonswitchporttrunkencapsulationdot1qswitchportmodetrunk!in

9、terfaceFastEthernet0/5channel-group1modeonswitchporttrunkencapsulationdot1qswitchportmodetrunk!interfaceFastEthernet0/6noswitchportipospfcost10duplexautospeedauto!interfaceVian10standbyversion2standby1priority110standby1preemptstandby1trackFastEthernetO/6!interfaceVlan20standbyversion2standby1preemp

10、t!routerospf110router-id4.444log-adjacency-changesnetwork10.0.0.00.255.255.255area0switch1(右边):Switch#showrunBuildingconfiguration.Currentconfiguration:2266bytes!version12.2noservicetimestampslogdatetimemsecnoservicetimestampsdebugdatetimemsecnoservicepassword-encryption!hostnameSwitch!ipdhcpexclude

11、d-address10.0.8.110.0.8.254!iprouting!spanning-treemodepvstspanning-treevlan20priority24576spanning-treevlan10priority28672interfacePort-channel1switchporttrunkencapsulationdotlqswitchportmodetrunk!interfaceFastEthernetO/1noswitchportipospfcost10duplexautospeedauto!interfaceFastEthernet0/2channel-gr

12、oup1modeonswitchporttrunkencapsulationdot1qswitchportmodetrunk!interfaceFastEthernet0/3channel-group1modeonswitchporttrunkencapsulationdot1qswitchportmodetrunk!interfaceFastEthernet0/4switchporttrunkallowedvlan10,20switchporttrunkencapsulationdot1qswitchportmodetrunk!interfaceFastEthernet0/5switchpo

13、rttrunkallowedvlan10,20switchporttrunkencapsulationdot1qswitchportmodetrunk!interfaceFastEthernet0/6speedauto!standby1preemptinterfaceVlan20standbyversion2standby1priority110standby1preemptstandby1trackFastEthernet0/1!routerospf110log-adjacency-changes二层sw0(左边)配置:Switch#showrunBuildingconfiguration.

14、Currentconfiguration:1193bytes!version12.2noservicetimestampslogdatetimemsecnoservicetimestampsdebugdatetimemsecnoservicepassword-encryption!hostnameSwitch!spanning-treemodepvst!interfaceFastEthernet0/3switchportaccessvlan10switchportmodeaccessspanning-treeportfast!interfaceFastEthernet0/4switchport

15、accessvlan20switchportmodeaccessspanning-treeportfast二层sw1(右边)配置:Switch#showrunBuildingconfiguration.Currentconfiguration:1193bytesversion12.2noservicetimestampslogdatetimemsecnoservicetimestampsdebugdatetimemsecnoservicepassword-encryption!hostnameSwitch!interfaceFastEthernetO/3switchportaccessvlan

16、10switchportmodeaccessspanning-treeportfast!interfaceFastEthernet0/4switchportaccessvlan20switchportmodeaccessspanning-treeportfast测试结果:1.1,1Kithbyteaoflinedout.timsdout.deques匸tbyte9=32TTL252bytes-32time-ImsTTL252fcoin11.1xl:Replyfrom1_L.1.1:Pickets:Snt=4rR.&celved2rLast=2K呂0右,Approxunfiterauii

17、dtriptiznesinziilli-gecondaiKiniEUQ=1e3tHaiLlzKLii=ILmf,=EmuReplyReplyReplyfEemfEtrnifrein100.1.1- 10:byt«9-3210&.100.1.1- 1口:bytes=32lOO.L.l.iafa-yte-122tixie2oi9TTL2S2TTL=2S2tjjne=10ni3TTL-252tijneLOmsTTL=2E24rLostG(DtIobspzn14-SecanfiszPingstatisticsfor100.1_l_lQzpackeT=zSent4”Received坯不?匚OKijntefoundXxipdixiesinMinimi=Ojh-9,Maxiwun=lOinrje=SjngtCAtumuEut1.1.1.1Traein-gToutstnover且"ffiAKirninnof30iio-p10r口1ms0IEL310,0,7.121ms03TL91ma10.0,5,2

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论