H3C-IRF堆叠典型配置举例_第1页
H3C-IRF堆叠典型配置举例_第2页
H3C-IRF堆叠典型配置举例_第3页
H3C-IRF堆叠典型配置举例_第4页
H3C-IRF堆叠典型配置举例_第5页
免费预览已结束,剩余4页可下载查看

下载本文档

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

文档简介

1、一 IRF典型配置举例1.1.1 IRF典型配置举例(LACP MAD检测方式)1.组网需求由于公司人员激增, 接入层交换机提供的端口数目已经不能满足pc的接入需求。现需要在保护现有投资的基础上扩展端口接入数量,并要求网络易管理、易维护。2.组网图图1-13 IRF典型配置组网图(LACP MAD 检测方式)I *F-port 1.xilRF-coru 1hDevice A , l i i f Device 白3 .配置思路Device A提供的接入端口数目已经不能满足网络需求,需要另外增加一台设备 Device B 。(本文以两台设备组成IRF为例,在实际组网中可以根据需要,将多台设备组成I

2、RF ,配置思路和配置步骤与本例类似)鉴于第二代智能弹性架构IRF技术具有管理简便、网络扩展能力强、可靠性高等优点,所以本例使用IRF技术构建接入层(即在 Device A和Device B上配置IRF功能)。为了防止万一 IRF链路故障导致IRF分裂、网络中存在两个配置冲突的IRF ,需要启用MAD检测功能。因为接入层设备较多,我们采用LACP MAD检测。4 .配置步骤曾说明为便于区分,下文配置中假设IRF形成前Device A的系统名称为 DeviceA , Device B的系统名称为 Device B ;中间设备 Device C的系统名称为 DeviceC 。(1)配置设备编号#

3、Device A 保留缺省编号为1 ,不需要进行配置。# 在Device B上将设备的成员编号修改为2。<DeviceB> system-viewDeviceB if member 1 renumber 2Warning: Renumbering the switch number may result in configuration change or loss. Continue? Y/N:yDeviceB(2)将两台设备断电后,按 图1-13所示连接IRF链路,然后将两台设备上电。# 在 Device A 上创建设备的 IRF 端口 2,与物理端口 Ten-GigabitE

4、thernet1/0/25 绑 定,并保存配置。<DeviceA> system-viewDeviceA interface ten-gigabitethernet 1/0/25DeviceA-Ten-GigabitEthernet1/0/25 shutdownDeviceA irf-port 1/2DeviceA-irf-port 1/2 port group interface ten-gigabitethernet 1/0/25DeviceA-irf-port 1/2 quitDeviceA interface ten-gigabitethernet 1/0/25Device

5、A-Ten-GigabitEthernet1/0/25 undo shutdownDeviceA-Ten-GigabitEthernet1/0/25 save# 在 Device B 上创建设备的 IRF 端口 1,与物理端口 Ten-GigabitEthernet2/0/26 绑 定,并保存配置。<DeviceB> system-viewDeviceB interface ten-gigabitethernet 2/0/26DeviceB-Ten-GigabitEthernet2/0/26 shutdownDeviceB irf-port 2/1DeviceB-irf-port

6、2/1 port group interface ten- gigabitethernet 2/0/26DeviceB-irf-port 2/1 quitDeviceB interface ten-gigabitethernet 2/0/26 DeviceB-Ten-GigabitEthernet2/0/26 undo shutdownDeviceB-Ten-GigabitEthernet2/0/26 save#激活DeviceA的IRF端口配置。DeviceA-Ten-GigabitEthernet1/0/25 quitDeviceA irf-port-configuration activ

7、e#激活DeviceB的IRF端口配置。DeviceB-Ten-GigabitEthernet2/0/26 quitDeviceB irf-port-configuration active(3)两台设备间会进行 Master竞选,竞选失败的一方将自动重启,重启完成后, IRF形成,系统名称统一为 DeviceA 。(4) 配置LACP MAD检测#创建一个动态聚合端口,并使能LACP MAD检测功能。<DeviceA> system-viewDeviceA interface bridge-aggregation 2DeviceA-Bridge-Aggregation2 link

8、-aggregation mode dynamicDeviceA-Bridge-Aggregation2 mad enableDeviceA-Bridge-Aggregation2 quit# 在聚合接 口中添加成员端口GigabitEthernet1/0/1 和 GigabitEthernet2/0/1 ,专用于两台IRF成员设备与中间设备进行LACP MAD检测。DeviceA interface gigabitethernet 1/0/1DeviceA-GigabitEthernet1/0/1 port link-aggregationgroup 2DeviceA-GigabitEthe

9、rnet1/0/1 quitDeviceA interface gigabitethernet 2/0/1DeviceA-GigabitEthernet2/0/1 port link-aggregation group 2(5)中间设备Device C的配置Device C作为一台中间设备需要支持LACP功能,用来转发、处理LACP协议报文,协助Device A和Device B进行多Active检测。从节约成本的角度考虑,使用一台 支持LACP功能的交换机即可。#创建一个动态聚合端口。<DeviceC> system-viewDeviceC interface bridge-ag

10、gregation 2DeviceC-Bridge-Aggregation2 link-aggregation mode dynamicDeviceC-Bridge-Aggregation2 quit# 在聚合端口中添加成员端口GigabitEthernet1/0/1 和 GigabitEthernet1/0/2 ,用于进行LACP MAD检测。DeviceC interface gigabitethernet 1/0/1DeviceC-GigabitEthernet1/0/1 port link-aggregation group 2DeviceC-GigabitEthernet1/0/1

11、quitDeviceC interface gigabitethernet 1/0/2DeviceC-GigabitEthernet1/0/2 port link-aggregation group 21rfirf i:蠲pa lafMfelaqy IrtfcIRF-FortlI»F-Porc:21DM-SS-blOl-ScbT12011 Irf IM1 TFKT 打-D lirh ataluiis U(L1 00:142011 <rf1FKWim.: Llrw prottKol on th* lnt*rf*c«iKi,a/49 H /.12011 Irf-4Ml s

12、th &I" iwrt 2 B vp.1 CM:H:54:65r 201.1 Irf -»e«i if K T 3foriyCigCS D/SO Hr* sriTbs It /L:一口 1. M: 3.4 :14-?Clk 1 Irf < nw« IFME T 1 L f Hk_ijPD0Wii 1 L tirw prut oral on tlw lirt«r F jc: v f4Hr t/GHR"7词 is uv.% 5 *11 1 OO:LSl15j149 2011 IfF OfcV 2 . BOAJft&_

13、£TAT£_ FAULT L BuArd£萨团4* Lu FAULT ufi Slul J» type unft.imriu1 W;i5-4:36B ?oxi s(*v 5jwwujl: h4rdcMhms xo ncam an $1酬 V cyp* is,加-1 QO:LS=2C:O92011wmOD/i/MOtMiEJN:riot器 FortyGlflE,0/13m transceiveris占t址k_jQ5fFUPLUS、川 口 00: llLl/ : J7?0l 1Iff - R*OPWaD J. HdCMJiLa IN.I GTFyCilgi

14、1 刊:Th# CrJUVECfl V«Fis5TMm3" P ggn1 W;li;iii:0>70 011 irf-hm! r*T,恒二 Fnrt><iigCi. 0/49 Tinic status H up.1JTQ11irfIFWT- 1 LINK; Lint protocol 即 tMACf FgrtdgEi/O4* 1l> Uf>.%JAn1 00:15:1:075>2011IrF-HnlIFtCT J P»Hf_LPDMN:FvrEyGigEJ 0.'50 link "dXuS fiS u|K120

15、11 Irt-Moj. IfWT. 5 linkLfM 时妣Ort tM 1班抬下“事K日IgUmW H yp.Vn i K:i;51U9i9i 2011 irf-»eRi «*.,_*苒1*_5开37£丽 教# back 哗 qf -standby bwre Ir3 st art edr1 00:L,”:Tg。11 什mt ha_AiATCIwlSHfia: ftitch Nchup of srAndby bctrd in ilrn 1 也 MrIsh#d.仃与 1rf 工叩口Topology InfoIHF-Portl Ment)erlDLinkneighbo

16、r1.DI53UP1<rirf link Mtmtoer 1 irf Port interface 1Usable2FortyGig£L/O/49FortyGi gti 0 SO member i IRF Port interface 1Fort/GigE VO/49FnrtgES 0 5Q 2disable1rf-ae*lJdis irf can MeiitierTD Newior«F-Partl11disableIRF-Port2LinkrrelghtwrUP3UT5-statusUP UPStatusUP UPBelong To Sfifea-6101-bcb&

17、quot; 5S6a-bl01-6cb'i3FortyGigE3/0/49FortyGi g£3/O.J5C iForryulgtl 0 49Fortvisigti o. so di sable#按图1-13所示连接LACP MAD 链路。1.1.2 IRF典型配置举例(BFD MAD检测方式)1 .组网需求由于网络规模迅速扩大,当前中心交换机( Device A )转发能力已经不能满足需求, 现需要在保护现有投资的基础上将网络转发能力提高一倍,并要求网络易管理、易维护。2 .组网图图1-14 IRF典型配置组网图(BFD MAD检测方式)3 .配置思路Device A处于局

18、域网的汇聚层,为了将汇聚层的转发能力提高一倍,需要另外增 加一台设备Device B 。鉴于第二代智能弹性架构IRF技术具有管理简便、网络扩展能力强、可靠性高等优点,所以本例使用 IRF技术构建网络汇聚层(即在 Device A和Device B上 配置IRF功能),接入层设备通过聚合双链路上行。为了防止万一 IRF链路故障导致IRF分裂、网络中存在两个配置冲突的IRF ,需要启用MAD检测功能。因为成员设备比较少,我们采用 BFD MAD检测方式 来监测IRF的状态。4 .配置步骤否说明为便于区分,下文配置中假设IRF形成前Device A的系统名称为 DeviceA , Device B的

19、系统名称为Device B 。(1)配置设备编号# Device A 保留缺省编号为1,不需要进行配置。# 在Device B上将设备的成员编号修改为2。<DeviceB> system-viewDeviceB irf member 1 renumber 2Warning: Renumbering the switch number may result inconfiguration change or loss. Continue? Y/N:yDeviceB(2)将两台设备断电后,按 图1-14所示连接IRF链路,然后将两台设备上电。# 在 Device A 上创建设备的 IR

20、F 端口 2,与物理端口 Ten-GigabitEthernet1/0/25 绑 定,并保存配置。<DeviceA> system-viewDeviceA interface ten-gigabitethernet 1/0/25DeviceA-Ten-GigabitEthernet1/0/25 shutdownDeviceA irf-port 1/2DeviceA-irf-port 1/2 port group interface ten-gigabitethernet 1/0/25DeviceA-irf-port 1/2 quitDeviceA interface ten-gig

21、abitethernet 1/0/25DeviceA-Ten-GigabitEthernet1/0/25 undo shutdownDeviceA-Ten-GigabitEthernet1/0/25 save# 在 Device B 上创建设备的 IRF 端口 1,与物理端口 Ten-GigabitEthernet2/0/26 绑 定,并保存配置。<DeviceB> system-viewDeviceB interface ten-gigabitethernet 2/0/26DeviceB-Ten-GigabitEthernet2/0/26 shutdownDeviceB irf-

22、port 2/1DeviceB-irf-port 2/1 port group interface ten-gigabitethernet 2/0/26DeviceB-irf-port 2/1 quitDeviceB interface ten-gigabitethernet 2/0/26DeviceB-Ten-GigabitEthernet2/0/26 undo shutdownDeviceB-Ten-GigabitEthernet2/0/26 save#激活DeviceA的IRF端口配置。DeviceA-Ten-GigabitEthernet1/0/25 quitDeviceA irf-p

23、ort-configuration active#激活DeviceB的IRF端口配置。DeviceB-Ten-GigabitEthernet2/0/26 quitDeviceB irf-port-configuration active(3)两台设备间将会进行 Master竞选,竞选失败的一方将自动重启,重启完成 后,IRF形成,系统名称统一为DeviceA。(4) 配置BFD MAD检测# 创建 VLAN 3 ,并将 Device A 上的端口 GigabitEthernet1/0/1 和 Device B 上的端 口 GigabitEthernet2/0/1 加入 VLAN 中。<D

24、eviceA> system-viewDeviceA vlan 3DeviceA-vlan3 port gigabitethernet 1/0/1gigabitethernet 2/0/1DeviceA-vlan3 quit# 创建VLAN接口 3,并配置 MAD IP地址。DeviceA interface vlan-interface 3DeviceA-Vlan-interface3 mad bfd enableDeviceA-Vlan-interface3 mad ip address 192.168.2.124 member 1DeviceA-Vlan-interface3 ma

25、d ip address 192.168.2.224 member 2DeviceA-Vlan-interface3 quit# 按图1-14所示连接 BFD MAD 链路。# 因为 BFD MAD 和生成树功能互斥,所以在 GigabitEthernet1/0/1 和GigabitEthernet2/0/1上关闭生成树协议。DeviceA interface gigabitethernet 1/0/1DeviceA-gigabitethernet-1/0/1 undo stp enableDeviceA-gigabitethernet-1/0/1 quitDeviceA interface

26、gigabitethernet 2/0/1DeviceA-gigabitethernet-2/0/1 undo stp enable1.1.3 IRF典型配置举例(ARP MAD检测方式)1 .组网需求由于网络规模迅速扩大,当前中心交换机( Device A )转发能力已经不能满足需求, 现需要在保护现有投资的基础上将网络转发能力提高一倍,并要求网络易管理、易维护。2 .组网图图1-15 IRF典型配置组网图(ARP MAD检测方式)Cs-tIM C.3 .配置思路Device A处于局域网的汇聚层,为了将汇聚层的转发能力提高一倍,需要另外增 加一台设备Device B 。鉴于第二代智能弹性架

27、构IRF技术具有管理简便、网络扩展能力强、可靠性高等优点,所以本例使用IRF技术构建网络接入层(即在 Device A和Device B上 配置IRF功能),IRF通过双链路上行。为了防止万一 IRF链路故障导致IRF分裂、网络中存在两个配置冲突的IRF ,需要启用MAD检测功能。因为成员设备比较少,我们采用 ARP MAD检测方式 来监测IRF的状态,复用链路上行传递ARP MAD报文。为防止环路发生,在IRF和Device C 上启用 MSTP功能。4 .配置步骤性说明为便于区分,下文配置中假设 IRF形成前Device A的系统名称为 DeviceA , Device B的 系统名称为

28、Device B ;中间设备 Device C的系统名称为 DeviceC 。(1)配置设备编号# Device A 保留缺省编号为1 ,不需要进行配置。#在Device B上将设备的成员编号修改为2。<DeviceB> system-viewDeviceB irf member 1 renumber 2Warning: Renumbering the switch number may result inconfiguration change or loss. Continue? Y/N:yDeviceB(2)将两台设备断电后,按 图1-14所示连接IRF链路和ARP MAD检

29、测链路,然 后将两台设备上电。# 在 Device A 上创建设备的 IRF 端口 2,与物理端口 Ten-GigabitEthernet1/0/25 绑 定,并保存配置。<DeviceA> system-viewDeviceA interface ten-gigabitethernet 1/0/25DeviceA-Ten-GigabitEthernet1/0/25 shutdownDeviceA irf-port 1/2DeviceA-irf-port 1/2 port group interface ten-gigabitethernet 1/0/25DeviceA-irf-p

30、ort 1/2 quitDeviceA interface ten-gigabitethernet 1/0/25DeviceA-Ten-GigabitEthernet1/0/25 undo shutdownDeviceA-Ten-GigabitEthernet1/0/25 save# 在 Device B 上创建设备的 IRF 端口 1,与物理端口 Ten-GigabitEthernet2/0/26 绑 定,并保存配置。<DeviceB> system-viewDeviceB interface ten-gigabitethernet 2/0/26DeviceB-Ten-GigabitEthernet2/0/26 shutdownDeviceB irf-port 2/1DeviceB-irf-port 2/1 port group interface ten-gigabitethernet 2/0/26DeviceB-irf-port 2/1 quitDeviceB interface ten-gigabitethernet 2/0/26DeviceB-Ten-GigabitEthernet2/0/26 undo shutdownDeviceB-Ten-GigabitEthernet2/0/26 save#激活DeviceA的IRF端口配置

温馨提示

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

评论

0/150

提交评论