1、H3CIRF堆叠典型配置举例1.2.图IRF典型配置举例1.1.1IRF典型配置举例(LACP MAD检测方式)组网需求由于公司人员激增, 接入层交换机提供的端口数目已经不能满足 PC的接入需求。现需要在保护现有投资的基础上扩展端口接入数量,并要求网络易管理、易维护。组网图1-13 IRF典型配置组网图(LACP MAD 检测方式)Device A提供的接入端口数目已经不能满足网络需求,需要另外增加一台设备Device B。(本文以两台设备组成 IRF为例,在实际组网中可以根据需要,将多台设备组成IRF,配置思路和配置步骤与本例类似)鉴于第二代智能弹性架构 IRF技术具有管理简便、网络扩展能力
2、强、可靠性高等优上配置IRF为便于区分,下文配置中假设 IRF形成前Device A的系统名称为 DeviceA,Device B的系统名称为Device B ;中间设备 Device C的系统名称为 DeviceC 。(1)配置设备编号# Device A 保留缺省编号为1,不需要进行配置。#在Device B上将设备的成员编号修改为vDeviceB system-viewDeviceB irf member 1 renu mber 2Warning: Renu mberi ng the switch nu mber may result in con figurati on cha nge
3、 or loss. Continue? Y/N:yDeviceB(2)将两台设备断电后,按 图1-13所示连接IRF链路,然后将两台设备上电。#在 Device A 上创建设备的 IRF 端口 2,与物理端口 Ten-GigabitEthernet1/0/25 定,并保存配置。 system-viewDeviceA in terface ten-gigabitether net 1/0/25DeviceA-Te n-GigabitEthernet1/0/25 shutdow nDeviceA irf-port 1/2DeviceA-irf- port 1/2 port group in ter
4、faceten-gigabitethernet 1/0/25DeviceA-irf- port 1/2 quitDeviceA in terface ten-gigabitether net 1/0/25DeviceA-Te n-GigabitEthernet1/0/25 un do shutdow nDeviceA-Te n-GigabitEthernet1/0/25 save#在 Device B 上创建设备的 IRF 端口 1,与物理端口 Ten-GigabitEthernet2/0/26 定,并保存配置。 system-viewDeviceB in terface ten-gigabi
5、tethernet 2/0/26DeviceB-Te n-GigabitEthernet2/0/26 shutdow nDeviceB irf-port 2/1DeviceB-irf- port 2/1 port group in terfaceten-gigabitethernet 2/0/26DeviceB-irf- port 2/1 quitDeviceB in terface ten-gigabitethernet 2/0/26DeviceB-Te n-GigabitEthernet2/0/26 un do shutdow nDeviceB-Te n-GigabitEthernet2/
6、0/26 save#激活DeviceA的IRF端口配置。DeviceA-Te n-GigabitEthernet1/0/25 quitDeviceA irf-p ort-co nfiguratio n active#激活DeviceB的IRF端口配置。DeviceB-Te n-GigabitEthernet2/0/26 quitDeviceB irf-p ort-co nfigurati on active(3)IRF两台设备间会进行 Master竞选,竞选失败的一方将自动重启, 重启完成后,形成,系统名称统一为 DeviceA。(4)配置LACP MAD检测#创建一个动态聚合端口,并使能 L
7、ACP MAD检测功能。 system-viewDeviceA in terface bridge-aggregatio n 2DeviceA-Bridge-Aggregatio n2 li nk-aggregatio n mode dyn amicDeviceA-Bridge-Aggregatio n2 mad en ableDeviceA-Bridge-Aggregatio n2 quit#在聚合接口中添加成员端口GigabitEthernet1/0/1 和 GigabitEthernet2/0/1 ,专用于两台IRF成员设备与中间设备进行 LACP MAD检测。DeviceA in te
8、rface gigabitether net 1/0/1DeviceA-GigabitEthernet1/0/1 port lin k-aggregationgroup 2DeviceA-GigabitEthernet1/0/1 quitDeviceA in terface gigabitethernet 2/0/1DeviceA-GigabitEthernet2/0/1 port lin k-aggregation group 2中间设备Device C的配置Device C作为一台中间设备需要支持 LACP功能,用来转发、处理LACP协议报文,协助Device A和Device B进行多A
9、ctive检测。从节约成本的角度考虑,使用一台支持LACP功能的交换机即可。#创建一个动态聚合端口。 system-viewDeviceC in terface bridge-aggregatio n 2DeviceC-Bridge-Aggregatio n2 li nk-aggregatio n mode dyn amic DeviceC-Bridge-Aggregati on2 quit# 在聚合端口中添加成员端口 GigabitEthernet1/0/1 和 GigabitEthernet1/0/2 ,用于进行LACP MAD检测。DeviceC in terface gigabitet
10、hernet 1/0/1DeviceC-GigabitEthernet1/0/1 port lin k-aggregati on group 2 DeviceC-GigabitEthernet1/0/1 quitDeviceC in terface gigabitethernet 1/0/2Topal-ogy Irrf口I HF- POrtl IFF-PWl ?I亦 T。 Iikightar LfiiA rttlgrOrtfi OLS - Rw【IhF二量inlWMn I 201L irf-IHHtL1 X up.1 M:r Ti up.1 - 亠 八一KJan 1 (K!Uan 1 :i 证
11、11 M!如跖 1 W需Jan 1 m1 M巧 3 i A4%?An 1 U . T 1 :O75 2CMJL irf-iTML ZFHCT/Jr-FHV_UFDOMli FblyCl#0/50 111 的一- i Jan 1 1 DeviceC-GigabitEthernet1/0/2 port lin k-aggregation group 2刊 Hl5a-S101-cb-IfFiET Foriytiigl I /D 4 0 llrit: 20Ll Irf-WMl tin* prut-Hol ur The Ificcrf Att ForryCK; 2011 Irf-ML 舌 6/SlM j
12、.l_STiTTi5_LlF : 由 Fl f Is Hjp.丹沪 Irf-mwl Jf NtT.-3/Pwf :宇砒T*汕 1lgCl O.-SD Hr* is ip.: J&ll I r f - niL tfHf T. -L l lTpi 量 pr/oCnl n th* tntMrf Jic r FortyC* UPr1&j15!149 20L1 Irf-IWWl V 2. *MJ_STATt_f a_T j Awd 鼻 tMc LU F4U_T dA SIdL type li urlLnuMI.龙iWl KV 57P*W_yTATl NQWAU BOirdI JTt TO Ort SlO
13、T J.灯(H 粕Ajh ARPTWEI?11 Irt-nwl OPTW 4/KHMXUINi; -Slot-J; FartL1gEJ. 0/: Ihe Vincelver 1s ST*CLQSf P_FLuS.If: 3J ! QPPW 4/lLE=aN : 1 0/ W: ik* CriFHC1V4* 灯=口 W F_PL UgLii: si lATD jail Irf -n Tfhirt/J. THri h首*上日玉 Is 4jp.2011 Irf -wa IFKT. i/LT*=UP*A.L Int pratMOl tM inttrfjct Fortytil#沖Mt h up.- -
14、_ - mtui ti up.:li: SI: 077 2011 IJ诚 JUFWMK ilW 5 iM trUtffM* U U0:!15: !i99 2911 Irf-nwl Mi. 沁代州*.门神兀g FUTCh bdckw E stfln brd n ot IJOLl M- V1NESK&: iJTfll felChup rtf iMird 1pi llOT ) is flPiilhtd.Topqllogy Info#按图1-13所示连接LACP MAD 链路。1.1.2IRF典型配置举例(BFD MAD检测方式)3.配置思路Device A处于局域网的汇聚层,为了将汇聚层的转发能力提
15、高一倍,需要另外增加一台设备Device B。鉴于第二代智能弹性架构 IRF技术具有管理简便、网络扩展能力强、可靠性高等优点,所以本例使用IRF技术构建网络汇聚层(即在 Device A和Device B上配 置IRF功能),接入层设备通过聚合双链路上行。为了防止万一 IRF链路故障导致IRF分裂、网络中存在两个配置冲突的 IRF,需要 启用MAD检测功能。因为成员设备比较少,我们采用 BFD MAD检测方式来监测IRF的状态。4.配置步骤誉说明的系为便于区分,下文配置中假设 IRF形成前Device A的系统名称为 DeviceA , Device B统名称为Device B。(1)配置设备
16、编号#Device A 保留缺省编号为1,不需要进行配置。#在Device B上将设备的成员编号修改为 2。 system-viewDeviceB irf member 1 renu mber 2Warning: Renu mberi ng the switch nu mber may result in con figurati on cha nge or loss. Continue? Y/N:yDeviceB(2)将两台设备断电后,按 图1-14所示连接IRF链路,然后将两台设备上电。#在 Device A 上创建设备的 IRF 端口 2,与物理端口 Ten-GigabitEtherne
17、t1/0/25 定,并保存配置。 system-viewDeviceA in terface ten-gigabitether net 1/0/25DeviceA-Te n-GigabitEthernet1/0/25 shutdow nDeviceA irf-port 1/2DeviceA-irf- port 1/2 port group in terfaceten-gigabitethernet 1/0/25DeviceA-irf- port 1/2 quitDeviceA in terface ten-gigabitether net 1/0/25DeviceA-Te n-GigabitE
18、thernet1/0/25 un do shutdow nDeviceA-Te n-GigabitEthernet1/0/25 save#在 Device B 上创建设备的 IRF 端口 1,与物理端口 Ten-GigabitEthernet2/0/26 定,并保存配置。 system-viewDeviceB in terface ten-gigabitethernet 2/0/26DeviceB-Te n-GigabitEthemet2/0/26 shutdow nDeviceB if-port 2/1DeviceB-irf- port 2/1 port group in terfacete
19、n-gigabitethernet 2/0/26DeviceB-irf- port 2/1 quitDeviceB in terface ten-gigabitethernet 2/0/26DeviceB-Te n-GigabitEthernet2/0/26 un do shutdow nDeviceB-Te n-GigabitEthernet2/0/26 save#激活DeviceA的IRF端口配置。DeviceA-Te n-GigabitEthernet1/0/25 quit DeviceA if-p ort-co nfiguratio n active #激活DeviceB的IRF端口配
20、置。DeviceB-Te n-GigabitEthernet2/0/26 quit DeviceB if-p ort-co nfigurati on active(3)两台设备间将会进行 Master竞选,竞选失败的一方将自动重启,重启完成后, IRF形成,系统名称统一为 DeviceA 。(4)配置BFD MAD检测# 创建 VLAN 3,并将 Device A 上的端口 GigabitEthernet1/0/1口 GigabitEthernet2/0/1 加入 VLAN 中。 system-viewDeviceA vla n 3DeviceA-vla n3 port gigabitethe
21、rnet 1/0/1 gigabitethernet 2/0/1DeviceA-vla n3 quit#创建VLAN接口 3,并配置 MAD IP地址。DeviceA in terface vla n-i nteface 3DeviceA-Vla n-i nteface3 mad bfd en able DeviceA-Vla n-i nteface3 madmember 1 DeviceA-Vla n-i nteface3 member 2DeviceA-Vla n-i nteface3 quit#按图1-14所示连接 BFD MAD 链路。,所以在 GigabitEthernet1/0/1
22、#因为BFD MAD和生成树功能互斥GigabitEthernet2/0/1 上关闭生成树协议。DeviceA in terface gigabitether net 1/0/1 DeviceA-gigabitethernet-1/0/1 undo stp en able DeviceA-gigabitethernet-1/0/1 quitDeviceA in terface gigabitethernet 2/0/1 DeviceA-gigabitether net-2/0/1 undo stp en able1.1.3IRF典型配置举例(ARP MAD检测方式)并要求网络易管理、易维2.图
23、D C.KF-eoilK iFF-pOftZ-l)由于网络规模迅速扩大,当前中心交换机( Device A )转发能力已经不能满足需求, 现需要在保护现有投资的基础上将网络转发能力提高一倍, 护。组网图1-15 IRF典型配置组网图(ARP MAD检测方式)IP netv刪kDevics 日3.配置思路Device A处于局域网的汇聚层,为了将汇聚层的转发能力提高一倍,需要另外增 加一台设备Device B 。鉴于第二代智能弹性架构 IRF技术具有管理简便、网络扩展能力强、可靠性高等优IRF,需要ARP MAD检测方式来为防止环路发生,在IRF点,所以本例使用IRF技术构建网络接入层(即在 D
24、evice A和Device B上配 置IRF功能),IRF通过双链路上行。为了防止万一 IRF链路故障导致IRF分裂、网络中存在两个配置冲突的 启用MAD检测功能。因为成员设备比较少,我们采用 监测IRF的状态,复用链路上行传递 ARP MAD报文。和Device C 上启用 MSTP功能。(1)配置设备编号# Device A 保留缺省编号为1,不需要进行配置。#在Device B上将设备的成员编号修改为 system-viewDeviceB irf member 1 renu mber 2Warning: Renu mberi ng the switch nu mber may resu
25、lt in con figurati on cha nge or loss. Continue? Y/N:yDeviceB然后 将两台设备断电后, 按图1-14所示连接IRF链路和ARP MAD检测链路,将两台设备上电。#在 Device A 上创建设备的 IRF 端口 2,与物理端口 Ten-GigabitEthernet1/0/25 定,并保存配置。 system-viewDeviceA in terface ten-gigabitether net 1/0/25DeviceA-Te n-GigabitEthernet1/0/25 shutdow nDeviceA irf-port 1/2
26、DeviceA-irf- port 1/2 port group in terfaceten-gigabitethernet 1/0/25DeviceA-irf- port 1/2 quitDeviceA in terface ten-gigabitether net 1/0/25DeviceA-Te n-GigabitEthernet1/0/25 un do shutdow nDeviceA-Te n-GigabitEthernet1/0/25 save#在 Device B 上创建设备的 IRF 端口 1,与物理端口 Ten-GigabitEthernet2/0/26 定,并保存配置。 s
27、ystem-viewDeviceB in terface ten-gigabitethernet 2/0/26DeviceB-Te n-GigabitEthernet2/0/26 shutdow nDeviceB irf-port 2/1DeviceB-irf- port 2/1 port group in terfaceten-gigabitethernet 2/0/26DeviceB-irf- port 2/1 quitDeviceB in terface ten-gigabitethernet 2/0/26DeviceB-Te n-GigabitEthernet2/0/26 un do
28、shutdow nDeviceB-Te n-GigabitEthernet2/0/26 save#激活DeviceA的IRF端口配置。DeviceA-Te n-GigabitEthernet1/0/25 quit DeviceA irf-p ort-co nfiguratio n active #激活DeviceB的IRF端口配置。DeviceB-Te n-GigabitEthernet2/0/26 quit DeviceB irf-p ort-co nfigurati on active(3)两台设备间将会进行 Master竞选,竞选失败的一方将自动重启,重启完成后,IRF形成,系统名称统一
29、为 DeviceA 。(4)配置 ARP MAD#在IRF上全局使能MSTP,以防止环路的发生。vDeviceA system-viewDeviceA stp en able#按图1-15所示连接ARP MAD检测链路。#将IRF配置为MAC地址立即改变。DeviceA undo irf mac-address p ersiste nt#创建 VLAN 3,并将 Device A (成员编号为 1 )上的端口 GigabitEthernet1/0/1 和Device B (成员编号为 2)上的端口 GigabitEthernet2/0/1 加入 VLAN 中。DeviceA vla n 3De
30、viceA-vla n3 port gigabitethernet 1/0/1gigabitethernet 2/0/1DeviceA-vla n3 quit#创建VLAN-interface3,并配置IP地址,使能 ARP MAD 检测功能。DeviceA in terface vla n-i nterface 3DeviceA-Vla n-i nterface3 ip address 192.1682 1 24DeviceA-Vla n-i nterface3 mad arp en able配置Device C#在全局使能MSTP,以防止环路的发生。 system-viewDeviceC stp en a
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1