《2021华三IRF堆叠技术手册.docx》由会员分享,可在线阅读,更多相关《2021华三IRF堆叠技术手册.docx(15页珍藏版)》请在优知文库上搜索。
1、华三IRF堆叠技术手册sw1sw2sw3irf3.zip5.38MBIRF11IRF22IRF21sw2IRF32sw1XGEJ)/49XGE0/49XGE_0/50sw3XGE_0/50IRF简介IRF:IntelligentResilientFramework,智能弹性架构,是一种软件虚拟化技术。它的核心思想是将多台设备通过IRF物理端口连接在一起,进行必要的配置后,虚拟化成一台“分布式设备”。使用这种虚拟化技术可以实现多台设备的协同工作、统一管理和不间断维护。为了便于描述,这个“虚拟设备”也称为IRF。所以,本文中的IRF有两层意思,一个是指IRF技术,一个是指IRF设备。类似于以前的“
2、堆叠”技术。三个优点:简化管理高可用性灵活扩展网络组网架构如图上1所示,MaSterSlave组成IRF,对上、下层设备来说,它们就是一台设备IRF。图I-IIRF组网应用示意图IRF的连接拓扑有两种:链形连接和环形连接,如图1-5所示。相比环形连接,链形连接对成员设备的物理位置要求更低,主要用于成员设备物理位置分散的组网。环形连接比链形连接更可靠。因为当链形连接中出现链路故障时,会引起IRF分裂;而环形连接中某条链路故障时,会形成链形连接,IRF的业务不会受到影响。IRF-PortaIRFIRF-PortI辉彩注法IRF链形堆叠swl:irfmember1priority5将SWl优先级配置
3、为5使其成为masterintten1/0/49shutdown接口需先ShUtdOWnirf-port1/1创建irf接口1/1portgroupinterfaceTen-GigabitEthernetI/0/49注意:1表示membeJD1表示irf接口ID注意2:第二数字最多是2即一台交换机上的IRFPort接口最多有两个,而且irfPOrt接口连接时必须交叉连接。例如:1/1-2/22/13/2sw2:irfmember1renumber2将sw2重新编号2savereboot重启intrangeTen-GigabitEthernet2/0/49toTen-GigabitEtherne
4、t2/0/50shutdownirf-port2/1portgroupinterfaceTen-GigabitEthernet2050irf-port2/2portgroupinterfaceTen-GigabitEthernet2049sw3:irfmember1renumber3将sw3重新编号3saverebootHJ11intten3/0/50shutdownirf-port3/2portgroupinterfaceTen-GigabitEthernet3050收尾阶段:sw1sw2sw3先将相关接口全部undoshutdowninttenx0xundoshutdownsave注意此时
5、一定要保存:防止自动重启后配置丢失把所有的堆叠线缆全部拔掉irf-port-configurationactive激:舌irf酉己置save再次保存最后插线缆调试命令:disirfdisirfMemberIDRolePriorityCPU-MacDescription*+lMaster55e7a-21f2-01042Standby15e7a-2f8b-02043Standby15e7a-5cl4-0304*indicatesthedeviceisthemaster.+indicatesthedevicethroughwhichtheuserlogsin.ThebridgeMACoftheIRF
6、is:5e7a-21f2-0100Autoupgrade:yesMacpersistent:6minDomainID:OIRF环形堆叠:配置在上面链形堆叠的基础之上配置的。intten1/0/51shutdownirf-port1/2portgroupinterfaceTen-GigabItEthernet1/0/51int1/0/51undoshutdownsavesw3:intten3/0/51shutdownirf-port3/1portgroupinterfaceTen-GigabitEthernet3051int3/0/51undoshutdwonsave收尾阶段:所有配置都保存后s
7、wlsw3irf-port-configurationactive断线测试IRF冗余性!IRF+链路捆绑IRF1/1IRF2/2sw1GE 0/5sw2核心层GE 0/1在前两小节基础之上配置swl:irf-port1/2portgroupinterfaceTen-GigabitEthernet1/0/50链路捆绑配置:swl:intBridge-Aggregation1创建聚合接口1intrangeGi1/0/1Gi2/0/2port1ink-aggregationgroup1将两个接口加入聚合组1接入层交换机:intBridge-Aggregation1intrangeGi1/0/1Gi1
8、/0/2port1ink-aggregationgroup1Non-Loadsharing- IndividualC - Aggregation, F - Distributing,JieRu-Idislink-aggregationverboseLoadsharingType:Shar-Loadsharing,NonS-Port:A-AutoPortStatus:S-Selected,U-Unselected,IFlags:A-LACP.Activity,B-LACP_TimeoutzD-Synchronization,E-Collecting,G-Defaulted,H-ExpiredAg
9、gregateInterface:Bridge-AggregationlAggregationMode:Static1.oadsharingType:SharPortStatusPriorityOper-Key327681327681GE1O1GE1O2FJieRu-Ilswl1disintbriefBriefinformationoninterfacesinroutemode:Link:ADM-administrativelydown;Stby-standbyProtocol:(s)-spoofingInterfaceLinkProtocolPrimaryIPDescriptionInLoo
10、pOMGEO/O/ONULLOREGOUPUP(s)DOWNDOWNUPUP(三)UPBriefinformationoninterfacesinbridgemode:Link:ADM-administrativelydown;Stby-standbySpeed:(a)-autoDuplex:(a)/A-auto;H-half;F-fullType:A-access;T-trunk;H-hybridInterfaceLinkSpeedDuplexTypePVIDDescriptionBAGG1UP2G(a)F(a)AFGE1O53DOWN40GAA1FGE1O54DOWN40GAA1FGE20
11、53DOWN4OGAA1FGE2054Y,A/TDOWN4OGAA1综合实验IRF11sw1sw2核心层IRF22接入交换机:vlan20interfaceBridge-Aggregationlportlink-typetrunkporttrunkpermitvlanallinterfaceGigabitEthernetl/0/5portaccessvlan20swl:interfaceBridge-Aggregationlportlink-typetrunkporttrunkpermitvlanallvlan20intvlan20ipaddress192.168.20.124作为用户网综合实
12、验Part2 :GE 0/5GE 0/1Vlan 20192.168.20.X/24三层链路聚合:Rl:intIoopback0ipadd8.8.8.824interfaceRoute-Aggregation5ipaddress192.168.254.1255.255.255.0interfaceGigabitEthernet60portlink-aggregationgroup5interfaceGigabitEthernet6lportlink-aggregationgroup5swl:interfaceGigabitEthernetl/0/3portlink-moderouteportlink-aggregationgroup5interfaceGigabitEthernet203portlink-moderouteportlink-aggregationgroup5interfaceRoute-Aggregation5ipaddress192.168.254.2255.255.255.0swl:iproute-static0.0.0.00192.168.254.1Rl:iproute-static192.168.0.016192.168.254.2