网络互联技术 课件任务7.2 MSTP+VRRP配置_第1页
网络互联技术 课件任务7.2 MSTP+VRRP配置_第2页
网络互联技术 课件任务7.2 MSTP+VRRP配置_第3页
网络互联技术 课件任务7.2 MSTP+VRRP配置_第4页
网络互联技术 课件任务7.2 MSTP+VRRP配置_第5页
已阅读5页,还剩20页未读, 继续免费阅读

下载本文档

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

文档简介

Module7网络优化《网络互联技术》任务7.2

MSTP+VRRP配置虚拟路由冗余协议VRRP相关术语VRRP工作过程监视上行链路VRRP配置流程VRRP配置命令目前在构建网络平台时,除了满足基本的业务承载、通信速率等需求外,还要考虑可用性,主要体现在稳定性和容错性两方面,即网络不间断运行的能力及出现故障后的快速恢复能力。MSTP、VRRP是分别基于二、三层的冗余备份技术,将两者有效融合,合理规划设计网络,可以在最大程度上保障网络通信的稳定。本次任务介绍两项技术的结合方法及部署应用。任务背景准备知识同一台VRRP设备可以加入多个VRRP组,然后设置其在不同的备份组中的优先级,以实现其在不同的备份组中具有不同的角色。1.VRRP负载分担VRRP负载分担MSTP和VRRP在功能特性上有许多相似之处:冗余设计,用户数据具有多条转发路径;主备状态,能够提供主路径和备份路径;负载分担,能够基于VLAN进行分流设计;主备切换,能够根据拓扑变化自动切换通信线路。融合设计:交换网络部署MSTP,实现二层链路冗余备份。三层转发通过部署VRRP,实现网关冗余。主备的一致性,即基于某VLAN的MSTP的根或备份根对应该VLAN的VRRP备份组的Master或Backup。2.MSTP和VRRP结合设计3.任务实施:MSTP+VRRP配置(1)理解VRRP负载分担的工作原理;(2)掌握MSTP+VRRP多备份组的结合及配置方法。(一)任务目的

某公司网络部署两台核心交换机为多个业务网段提供冗余网关,同时交换网络也构建冗余链路。管理员希望采用相应的技术手段,将二、三层冗余技术有效结合,最大程度地提高网络的稳定性和通信性能。(二)任务描述(1)拓扑图(2)操作流程交换机配置VLAN及干道链路;核心交换机S3、S4之间构建聚合链路(LACP),提升内网数据交换速率;R1、S3和S4配置网络参数并运行OSPF协议,R1的loopback1接口IP地址1.1.1.1/32作为访问测试的目的地址。其中S3、S4各VLANIF地址规划如下:(三)实施规划3.任务实施:MSTP+VRRP配置VLANIFS3S4备注1010.1.10.252/2410.1.10.253/24各VLAN主机IP为所在网段第一个地址2010.1.20.252/2410.1.20.253/243010.1.30.252/2410.1.30.253/244010.1.40.252/2410.1.40.253/2410010.0.13.3/2410.0.14.4/24与R1互连(1)拓扑图(2)操作流程交换网络配置MSTP,MSTP规划如:S3、S4配置VRRP,规划如下:(三)实施规划3.任务实施:MSTP+VRRP配置MST域MSTP实例关联VLAN根备份根MST_A110、30S3S4220、40S4S3VLANVRID虚拟IPMaster(120)Backup(100)101010.1.10.254S3S4202010.1.20.254S4S3303010.1.30.254S3S4404010.1.40.254S4S3(四)操作步骤[S1]vlanbatch10203040[S1]inte0/0/1[S1-Ethernet0/0/1]portlink-typeaccess[S1-Ethernet0/0/1]portdefaultvlan10[S1-Ethernet0/0/1]inte0/0/2[S1-Ethernet0/0/2]portlink-typeaccess[S1-Ethernet0/0/2]portdefaultvlan20[S1-Ethernet0/0/2]intg0/0/1[S1-GigabitEthernet0/0/1]portlink-typetrunk[S1-GigabitEthernet0/0/1]porttrunkallow-passvlan10203040[S1-GigabitEthernet0/0/1]intg0/0/2[S1-GigabitEthernet0/0/2]portlink-typetrunk[S1-GigabitEthernet0/0/2]porttrunkallow-passvlan10203040S1配置:

配置MSTP配置VLAN配置网络参数及OSPF

配置链路聚合

配置VRRP3.任务实施:MSTP+VRRP配置(四)操作步骤[S2]vlanbatch10203040[S2]inte0/0/1[S2-Ethernet0/0/1]portlink-typeaccess[S2-Ethernet0/0/1]portdefaultvlan30[S2-Ethernet0/0/1]inte0/0/2[S2-Ethernet0/0/2]portlink-typeaccess[S2-Ethernet0/0/2]portdefaultvlan40[S2-Ethernet0/0/2]intg0/0/1[S2-GigabitEthernet0/0/1]portlink-typetrunk[S2-GigabitEthernet0/0/1]porttrunkallow-passvlan10203040[S2-GigabitEthernet0/0/1]intg0/0/2[S2-GigabitEthernet0/0/2]portlink-typetrunk[S2-GigabitEthernet0/0/2]porttrunkallow-passvlan10203040S2配置:

配置MSTP配置VLAN配置网络参数及OSPF

配置链路聚合

配置VRRP3.任务实施:MSTP+VRRP配置(四)操作步骤[S3]vlanbatch10203040100[S3]intg0/0/1[S3-GigabitEthernet0/0/1]portlink-typetrunk[S3-GigabitEthernet0/0/1]porttrunkallow-passvlan10203040[S3-GigabitEthernet0/0/1]intg0/0/2[S3-GigabitEthernet0/0/2]portlink-typetrunk[S3-GigabitEthernet0/0/2]porttrunkallow-passvlan10203040[S3-GigabitEthernet0/0/2]intg0/0/3[S3-GigabitEthernet0/0/3]portlink-typeaccess[S3-GigabitEthernet0/0/3]portdefaultvlan100S3配置:

配置MSTP配置VLAN配置网络参数及OSPF

配置链路聚合

配置VRRP3.任务实施:MSTP+VRRP配置(四)操作步骤[S4]vlanbatch10203040100[S4]intg0/0/1[S4-GigabitEthernet0/0/1]portlink-typetrunk[S4-GigabitEthernet0/0/1]porttrunkallow-passvlan10203040[S4-GigabitEthernet0/0/1]intg0/0/2[S4-GigabitEthernet0/0/2]portlink-typetrunk[S4-GigabitEthernet0/0/2]porttrunkallow-passvlan10203040[S4-GigabitEthernet0/0/2]intg0/0/3[S4-GigabitEthernet0/0/3]portlink-typeaccess[S4-GigabitEthernet0/0/3]portdefaultvlan100S4配置:

配置MSTP配置VLAN配置网络参数及OSPF

配置链路聚合

配置VRRP3.任务实施:MSTP+VRRP配置(四)操作步骤配置VLAN[S3]interfaceEth-Trunk1[S3-Eth-Trunk1]modelacp-static[S3-Eth-Trunk1]trunkportg0/0/23to0/0/24[S3-Eth-Trunk1]portlink-typetrunk[S3-Eth-Trunk1]porttrunkallow-passvlan10203040[S3-Eth-Trunk1]quitS3配置:配置链路聚合[S4]interfaceEth-Trunk1[S4-Eth-Trunk1]modelacp-static[S4-Eth-Trunk1]trunkportg0/0/23to0/0/24[S4-Eth-Trunk1]portlink-typetrunk[S4-Eth-Trunk1]porttrunkallow-passvlan10203040[S4-Eth-Trunk1]quitS4配置:

配置MSTP配置网络参数及OSPF

配置VRRP3.任务实施:MSTP+VRRP配置(四)操作步骤[S3]intvlanif10[S3-Vlanif10]ipaddress10.1.10.25224[S3-Vlanif10]intvlanif20[S3-Vlanif20]ipaddress10.1.20.25224[S3-Vlanif20]intvlanif30[S3-Vlanif30]ipaddress10.1.30.25224[S3-Vlanif30]intvlanif40[S3-Vlanif40]ipaddress10.1.40.25224[S3-Vlanif40]intvlanif100[S3-Vlanif100]ipaddress10.0.13.324[S3]ospf1router-id3.3.3.3[S3-ospf-1]area0[S3-ospf-1-area-0.0.0.0]network10.1.0.00.0.255.255[S3-ospf-1-area-0.0.0.0]network10.0.13.00.0.0.255S3配置:配置VLAN配置链路聚合

配置MSTP配置网络参数及OSPF

配置VRRP3.任务实施:MSTP+VRRP配置(四)操作步骤[S4]intvlanif10[S4-Vlanif10]ipaddress10.1.10.25324[S4-Vlanif10]intvlanif20[S4-Vlanif20]ipaddress10.1.20.25324[S4-Vlanif20]intvlanif30[S4-Vlanif30]ipaddress10.1.30.25324[S4-Vlanif30]intvlanif40[S4-Vlanif40]ipaddress10.1.40.25324[S4-Vlanif40]intvlanif100[S4-Vlanif100]ipaddress10.0.14.424[S4]ospf1router-id4.4.4.4[S4-ospf-1]area0[S4-ospf-1-area-0.0.0.0]network10.1.0.00.0.255.255[S4-ospf-1-area-0.0.0.0]network10.0.14.00.0.0.255S4配置:配置VLAN配置链路聚合

配置MSTP配置网络参数及OSPF

配置VRRP3.任务实施:MSTP+VRRP配置(四)操作步骤[R1]intg0/0/1[R1-GigabitEthernet0/0/1]ipadd10.0.13.124[R1-GigabitEthernet0/0/1]intg0/0/2[R1-GigabitEthernet0/0/2]ipadd10.0.14.124[R1-GigabitEthernet0/0/2]intlo1[R1-LoopBack1]ipadd1.1.1.132[R1]ospf1router-id1.1.1.1[R1-ospf-1]area0[R1-ospf-1-area-0.0.0.0]network10.0.0.00.0.255.255[R1-ospf-1-area-0.0.0.0]network1.1.1.10.0.0.0R1配置:配置VLAN配置链路聚合

配置MSTP配置网络参数及OSPF

配置VRRP3.任务实施:MSTP+VRRP配置(四)操作步骤[S3]stpmodemstp[S3]stpregion-configuration[S3-mst-region]region-nameMST_A[S3-mst-region]revision-level1[S3-mst-region]instance1vlan1030[S3-mst-region]instance2vlan2040[S3-mst-region]activeregion-configurationS3配置MSTP参数:S1、S2、S4与S3相同。配置VLAN配置链路聚合配置MSTP配置网络参数及OSPF

配置VRRP3.任务实施:MSTP+VRRP配置(四)操作步骤[S3]stpinstance1rootprimary[S3]stpinstance2rootsecondaryS3配置:[S4]stpinstance1rootsecondary[S4]stpinstance2rootprimaryS4配置:配置VLAN配置链路聚合配置MSTP配置网络参数及OSPF

配置VRRP3.任务实施:MSTP+VRRP配置(四)操作步骤[S3]intvlanif10[S3-Vlanif10]vrrpvrid10virtual-ip10.1.10.254[S3-Vlanif10]vrrpvrid10priority120[S3-Vlanif10]intvlanif20[S3-Vlanif20]vrrpvrid20virtual-ip10.1.20.254[S3-Vlanif20]intvlanif30[S3-Vlanif30]vrrpvrid30virtual-ip10.1.30.254[S3-Vlanif30]vrrpvrid30priority120[S3-Vlanif30]intvlanif40[S3-Vlanif40]vrrpvrid40virtual-ip10.1.40.254S3配置:配置VLAN配置链路聚合

配置MSTP配置网络参数及OSPF配置VRRP3.任务实施:MSTP+VRRP配置(四)操作步骤[S4]intvlanif10[S4-Vlanif10]vrrpvrid10virtual-ip10.1.10.254[S4-Vlanif10]intvlanif20[S4-Vlanif20]vrrpvrid20virtual-ip10.1.20.254[S4-Vlanif20]vrrpvrid20priority120[S4-Vlanif20]intvlanif30[S4-Vlanif30]vrrpvrid30virtual-ip10.1.30.254[S4-Vlanif30]intvlanif40[S4-Vlanif40]vrrpvrid40virtual-ip10.1.40.254[S4-Vlanif40]vrrpvrid40priority120S4配置:配置VLAN配置链路聚合

配置MSTP配置网络参数及OSPF配置VRRP3.任务实施:MSTP+VRRP配置(五)实验测试查看VRRP备份组状态信息[S3]disvrrpbriefVRIDStateInterfaceTypeVirtualIP----------------------------------------------------------------10MasterVlanif10Normal10.1.10.25420BackupVlanif20Normal10.1.20.25430MasterVlanif30Normal10.1.30.25440BackupVlanif40Normal10.1.40.254

----------------------------------------------------------------Total:4Master:2Backup:2Non-active:0S3查看VRRP备份组状态信息查看MSTP状态信息[S4]disvrrpbriefVRIDStateInterfaceTypeVirtualIP----------------------------------------------------------------10BackupVlanif10Normal10.1.10.25420MasterVlanif20Normal10.1.20.25430BackupVlanif30Normal10.1.30.25440MasterVlanif40Normal10.1.40.254

----------------------------------------------------------------Total:4Master:2Backup:2Non-active:0S4查看VRRP备份组状态信息连通性测试3.任务实施:MSTP+VRRP配置(五)实验测试查看VRRP备份组状态信息[S3]disstpinstance1-------[MSTI1GlobalInfo]-------MSTIBridgeID:0.4c1f-cc99-5dd5MSTIRegRoot/IRPC:0.4c1f-cc99-5dd5/0MSTIRootPortId:0.0MSTIRootType:Primaryroot......S3查看实例1状态信息查看MSTP状态信息[S4]disstpinstance1-------[MSTI1GlobalInfo]-------MSTIBridgeID:4096.4c1f-ccbe-6fbcMSTIRegRoot/IRPC:0.4c1f-cc99-5dd5/10000MSTIRootPortId:128.1MSTIRootType:Secondaryroot......S4查看实例1状态信息连通性测试3.任务实施:MSTP+VRRP配置(五)实验测试查看VRRP备份组状态信息[S3]disstpinstance2-------[MSTI2GlobalInfo]-------MSTIBridgeID:4096.4c1f-cc99-5dd5MSTIRegRoot/IRPC:0.4c1f-ccbe-6fbc/10000MSTIRootPortId:128.1MSTIRootType:Secondaryroot......S3查看实例2状态信息查看MSTP状态信息[S4]disstpinstance2-------[MSTI2GlobalInfo]-------MSTIBridgeID:0.4c1f-ccbe-6fbcMSTIRegRoot/IRPC:0.4c1f-ccbe-6fbc

温馨提示

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

评论

0/150

提交评论