配置软件虚拟化

软件虚拟化  时间:2021-03-27  阅读:()
H3CIRF典型配置举例Copyright2015杭州华三通信技术有限公司版权所有,保留一切权利.
非经本公司书面许可,任何单位和个人不得擅自摘抄、复制本文档内容的部分或全部,并不得以任何形式传播.
本文档中的信息可能变动,恕不另行通知.
i目录1简介·12配置前提13使用限制14两台成员设备的IRF配置举例·34.
1组网需求·34.
2配置思路·44.
3使用版本·44.
4配置步骤·44.
4.
1搭建IRF·44.
4.
2LACPMAD配置54.
4.
3IRF下行业务配置64.
4.
4IRF上行业务配置84.
5验证配置·114.
6配置文件·125四台成员设备的IRF配置举例·185.
1组网需求·185.
2配置思路·215.
3使用版本·215.
4配置步骤·215.
4.
1搭建IRF·215.
4.
2LACPMAD配置245.
4.
3IRF下行业务配置255.
4.
4IRF上行业务配置265.
5验证配置·285.
6配置文件·296IRF扩容升级配置举例·356.
1组网需求·356.
2配置思路·376.
3使用版本·386.
4配置注意事项·386.
5配置步骤·386.
5.
1搭建IRF(配置DeviceC和DeviceD加入IRF)38ii6.
5.
2搭建IRF(配置原IRF和IRF-C合并成IRF)406.
5.
3BFDMAD配置426.
5.
4IRF下行业务配置426.
5.
5IRF上行业务配置456.
6验证配置·466.
7配置文件·477相关资料5411简介本文档介绍了配置两台成员设备的IRF、配置四台成员设备的IRF和IRF扩容升级的配置举例.
IRF(IntelligentResilientFramework,智能弹性架构)是H3C自主研发的软件虚拟化技术,它的核心思想是将多台设备通过物理IRF端口连接在一起,进行必要的配置后,虚拟化成一台"虚拟设备",通过该"虚拟设备"来实现多台设备的协同工作、统一管理和不间断维护.
为了便于描述,本文把这个虚拟化形成的设备称为IRF.
2配置前提本文档中的配置均是在实验室环境下进行的配置和验证,配置前设备的所有参数均采用出厂时的缺省配置.
如果您已经对设备进行了配置,为了保证配置效果,请确认现有配置和以下举例中的配置不冲突.
请确保成员设备间的IRF物理连线正确连接,与配置组网图保持一致.
本文假设您已了解IRF特性.
3使用限制1.
IRF形成条件在配置IRF前,S10500必须满足以下条件,否则不能形成IRF:IRF中所有成员设备的软件版本必须相同,如果有软件版本不同的设备要加入IRF,请确保IRF的启动文件同步加载功能处于使能状态;如果两个IRF的桥MAC地址相同,请修改其中一个IRF的桥MAC地址,否则,它们不能合并为一个IRF;在多台设备形成IRF之前,请确保各设备上最大等价路由条数的配置保持一致.
关于最大等价路由的介绍,请参见"三层技术-IP路由配置指导"中的"IP路由基础配置";在多台设备形成IRF之前,请确保各设备的工作模式相同.
关于工作模式的配置,请参见"基础配置指导"中的"设备管理配置".
2.
IRF连接限制本设备上与IRF-Port1绑定的IRF物理端口只能和邻居成员设备IRF-Port2口上绑定的IRF物理端口相连,本设备上与IRF-Port2口绑定的IRF物理端口只能和邻居成员设备IRF-Port1口上绑定的IRF物理端口相连,如表1所示.
否则,不能形成IRF.
表1IRF物理端口连接限制邻居成员设备上的IRF物理端口本设备上的IRF物理端口IRF-Port1绑定的IRF物理端口IRF-Port2绑定的IRF物理端口IRF-Port1绑定的IRF物理端口不能连接可以连接2邻居成员设备上的IRF物理端口本设备上的IRF物理端口IRF-Port1绑定的IRF物理端口IRF-Port2绑定的IRF物理端口IRF-Port2绑定的IRF物理端口可以连接不能连接3.
IRF物理端口选择限制在使用SF或EC单板上的端口作为IRF物理端口与IRF端口绑定时,需要注意端口的分组使用方式:同一组中的所有端口用途必须相同,即当组内某一端口与IRF端口绑定后,该组中其它端口也必须与IRF端口绑定,不能再作为普通业务端口使用,反之亦然.
在将组内某个端口与IRF端口进行绑定或取消绑定之前,必须先对该端口所在组内的所有端口执行shutdown操作,在完成绑定或取消绑定操作后,再对同组内所有端口执行undoshutdown操作.
SF或EC单板上的端口的分组方式为:如果使用usingtengige命令将一个40GE接口拆分成四个10GE接口,这四个10GE接口将分作一组.
对于LSUM2TGS16SF0单板,编号为1、2、15、16的端口为一个端口一组,编号为3、4、5的端口为一组,编号为6、7、8的端口为一组,编号为9、10、11的端口为一组,编号为12、13、14的端口为一组.
在其它提供10GE端口的SF或EC单板上,从第一个10GE端口的编号开始,按端口编号由小到大的顺序,每4个连续的端口分为一组.
如果直接使用40GE端口作为IRF物理端口,则不需要考虑端口的分组.
当选用具有40GEQSFP+端口的单板进行IRF连接时,由于40GEQSFP+端口具备拆分成4个10GE端口的功能,当执行拆分或合并操作时需要重启该单板,因此请提前规划好40GEQSFP+端口的使用方式,避免IRF形成后重启单板可能对IRF拓扑产生的影响.
在独立运行模式下将IRF端口和IRF物理端口绑定,并不会影响IRF物理端口的当前业务.
当设备切换到IRF模式后,IRF物理端口的配置将恢复到缺省状态(即原有的业务配置会被删除),IRF物理端口下只能配置shutdown、description和flow-interval命令.
有关shutdown、description和flow-interval命令的详细介绍,请参见"二层技术-以太网交换配置指导"中的"以太网接口".
4.
IRF最大成员设备数限制本系列交换机最多支持使用四台设备建立IRF.
5.
MAD使用限制LACPMAD和BFDMAD、ARPMAD、NDMAD冲突处理的原则不同,请不要同时配置.
BFDMAD、ARPMAD和NDMAD这三种方式独立工作,彼此之间互不干扰,可以同时配置.
6.
License使用限制请确保IRF中各成员设备上安装的特性License一致,否则,可能会导致这些License对应的特性不能正常运行.
34两台成员设备的IRF配置举例4.
1组网需求如图1所示,DeviceA为公司的核心设备,但由于公司网络规模日益增大,汇聚层SW设备扩展至N台,DeviceA单台设备的转发能力已无法达到公司网络的需求.
为了拓展核心设备的转发能力,又尽量不改变现有网络.
现公司希望增加DeviceB,与DeviceA组成IRF,来满足当前网络的需求.
IRF的上行设备(RouterA和RouterB)为公司网络的出口路由器;IRF的下行交换机(SW1、SW2等)为各个服务器集群的汇聚层设备.
图1IRF典型配置组网图设备接口IP地址设备接口IP地址RouterAVlan-int30172.
24.
2.
2/24RouterBVlan-int30172.
24.
2.
3/24RouterARouterBXGE4/0/2Vlan-int30XGE2/0/2Vlan-int30XGE4/0/2Vlan-int30XGE2/0/2Vlan-int30XGE4/0/3Vlan-int50XGE4/0/3Vlan-int50VLAN30XGE4/0/1Vlan-int40XGE4/0/1Vlan-int41XGE2/0/1Vlan-int40XGE2/0/1Vlan-int41XGE1/3/0/7Vlan-int40XGE1/3/0/8Vlan-int41XGE2/3/0/7Vlan-int40XGE2/3/0/8Vlan-int41XGE1/3/0/1XGE1/3/0/2XGE2/3/0/1XGE2/3/0/2IRFDeviceBDeviceA……XGE1/3/0/4Vlan-int20XGE2/3/0/3Vlan-int10XGE1/3/0/3Vlan-int10XGE2/3/0/4Vlan-int20SW1SW2SWNSWXXXGE3/0/1GE3/0/1GE3/0/1ServerGroup1ServerGroup2ServerGroupXXXServerGroupNXGE4/0/1XGE4/0/2XGE4/0/2XGE4/0/1……4Vlan-int40172.
24.
40.
2/24Vlan-int41172.
24.
41.
3/24Vlan-int50172.
24.
1.
2/24Vlan-int50172.
24.
4.
2/24IRFVlan-int10172.
24.
10.
254/24Vlan-int20172.
24.
20.
254/24Vlan-int40172.
24.
40.
254/24Vlan-int41172.
24.
41.
254/244.
2配置思路为避免成员设备的单点故障影响到正常的业务转发,可在IRF中配置跨框聚合端口进行业务转发.
为尽量降低IRF分裂对业务造成的影响,可在IRF中配置LACPMAD检测.
LACPMAD检测只需在一个聚合组中配置即可,其他聚合组中无需配置.
LACPMAD检测使用的中间设备必须为H3C的交换机设备且使用的软件版本必须能够识别、处理携带了ActiveID值的LACPDU协议报文,在本例中使用SW1作为LACPMAD检测的中间设备.
4.
3使用版本本举例在S10500-CMW710-R7150版本上进行配置和验证.
4.
4配置步骤4.
4.
1搭建IRF1.
DeviceA的配置(1)设置DeviceA的成员编号为1system-view[DeviceA]irfmember1(2)创建IRF端口2,并将它与物理端口Ten-GigabitEthernet3/0/1和Ten-GigabitEthernet3/0/2绑定[DeviceA]irf-port2[DeviceA-irf-port2]portgroupinterfaceten-gigabitethernet3/0/1[DeviceA-irf-port2]portgroupinterfaceten-gigabitethernet3/0/2[DeviceA-irf-port2]quit(3)将当前配置保存到下次启动配置文件切换运行模式后,设备会自动重启,使新的运行模式生效.
为防止配置丢失,请在切换模式前,保存当前配置.
[DeviceA]save(4)参照图1和端口连接表连接DeviceA和DeviceB之间的IRF端口(5)将DeviceA的运行模式切换到IRF模式,之后设备会自动重启[DeviceA]chassisconvertmodeirfThedevicewillswitchtoIRFmodeandreboot.
Youarerecommendedtosavethecurrentrunningconfigurationandspecifytheconfigurationfileforthenextstartup.
Continue[Y/N]:y5Doyouwanttoconvertthecontentofthenextstartupconfigurationfilecfa0:/irf.
cfgtomakeitavailableinstackmode[Y/N]:yNowrebooting,pleasewait.
.
.
2.
DeviceB的配置(1)设置DeviceB的成员编号为2system-view[DeviceB]irfmember2(2)创建设备的IRF端口1,并将它与物理端口Ten-GigabitEthernet3/0/1和Ten-GigabitEthernet3/0/2绑定[DeviceB]irf-port1[DeviceB-irf-port1]portgroupinterfaceten-gigabitethernet3/0/1[DeviceB-irf-port1]portgroupinterfaceten-gigabitethernet3/0/2[DeviceB-irf-port1]quit(3)保存配置[DeviceB]save(4)参照图1和端口连接表连接DeviceA和DeviceB之间的IRF端口(5)将设备的运行模式切换到IRF模式[DeviceB]chassisconvertmodeirfThedevicewillswitchtoIRFmodeandreboot.
Youarerecommendedtosavethecurrentrunningconfigurationandspecifytheconfigurationfileforthenextstartup.
Continue[Y/N]:yDoyouwanttoconvertthecontentofthenextstartupconfigurationfilecfa0:/irf.
cfgtomakeitavailableinstackmode[Y/N]:yNowrebooting,pleasewait.
.
.
4.
4.
2LACPMAD配置在前面配置完成并重新启动后,IRF已经组建完成,此时可以进行各个业务模块的配置.
IRF形成之后,可以从任何一台成员设备登录进行配置,设备名称缺省为Master的名称(此例中为DeviceA).
#创建连接接入层交换机SW1的动态聚合组,编号为1,并使能LACPMAD检测功能.
system-view[DeviceA]interfacebridge-aggregation1[DeviceA-Bridge-Aggregation1]link-aggregationmodedynamic[DeviceA-Bridge-Aggregation1]madenableYouneedtoassignadomainID(range:0-4294967295)[Currentdomainis:0]:TheassigneddomainIDis:0MADLACPonlyenableondynamicaggregationinterface.
[DeviceA-Bridge-Aggregation1]quit#配置连接SW1的端口加入聚合组1.
[DeviceA]interfaceten-gigabitethernet1/3/0/3[DeviceA-Ten-GigabitEthernet1/3/0/3]portlink-aggregationgroup1[DeviceA-Ten-GigabitEthernet1/3/0/3]quit6[DeviceA]interfaceten-gigabitethernet2/3/0/3[DeviceA-Ten-GigabitEthernet2/3/0/3]portlink-aggregationgroup1[DeviceA-Ten-GigabitEthernet2/3/0/3]quit4.
4.
3IRF下行业务配置1.
IRF的配置#创建连接接入层交换机SW2的聚合组,编号为2.
[DeviceA]interfacebridge-aggregation2[DeviceA-Bridge-Aggregation2]quit#配置连接SW2的端口加入聚合组2.
[DeviceA]interfaceten-gigabitethernet1/3/0/4[DeviceA-Ten-GigabitEthernet1/3/0/4]portlink-aggregationgroup2[DeviceA-Ten-GigabitEthernet1/3/0/4]quit[DeviceA]interfaceten-gigabitethernet2/3/0/4[DeviceA-Ten-GigabitEthernet2/3/0/4]portlink-aggregationgroup2[DeviceA-Ten-GigabitEthernet2/3/0/4]quit#配置与SW1之间通过Vlan-interface10连接.
[DeviceA]vlan10[DeviceA-vlan10]quit[DeviceA]interfacevlan-interface10[DeviceA-Vlan-interface10]ipaddress172.
24.
10.
25424[DeviceA-Vlan-interface10]quit[DeviceA]interfacebridge-aggregation1[DeviceA-Bridge-Aggregation1]portlink-typetrunk[DeviceA-Bridge-Aggregation1]undoporttrunkpermitvlan1[DeviceA-Bridge-Aggregation1]porttrunkpermitvlan10[DeviceA-Bridge-Aggregation1]quit#配置与SW2之间通过Vlan-interface20连接.
[DeviceA]vlan20[DeviceA-vlan20]quit[DeviceA]interfacevlan-interface20[DeviceA-Vlan-interface20]ipaddress172.
24.
20.
25424[DeviceA-Vlan-interface20]quit[DeviceA]interfacebridge-aggregation2[DeviceA-Bridge-Aggregation2]portlink-typetrunk[DeviceA-Bridge-Aggregation2]undoporttrunkpermitvlan1[DeviceA-Bridge-Aggregation2]porttrunkpermitvlan20[DeviceA-Bridge-Aggregation2]quit2.
SW1的配置#创建连接IRF的动态聚合组,编号为1,该聚合组同时用于IRF的LACPMAD检测.
system-view[SW1]interfacebridge-aggregation1[SW1-Bridge-Aggregation1]link-aggregationmodedynamic[SW1-Bridge-Aggregation1]quit#配置连接IRF的端口加入聚合组1.
7[SW1]interfaceten-gigabitethernet4/0/1[SW1-Ten-GigabitEthernet4/0/1]portlink-aggregationgroup1[SW1-Ten-GigabitEthernet4/0/1]quit[SW1]interfaceten-gigabitethernet4/0/2[SW1-Ten-GigabitEthernet4/0/2]portlink-aggregationgroup1[SW1-Ten-GigabitEthernet4/0/2]quit#接入设备SW1上创建所有VLAN.
[SW1]vlanall#配置与IRF连接的端口.
[SW1]interfacebridge-aggregation1[SW1-Bridge-Aggregation1]portlink-typetrunk[SW1-Bridge-Aggregation1]undoporttrunkpermitvlan1[SW1-Bridge-Aggregation1]porttrunkpermitvlan10[SW1-Bridge-Aggregation1]quit#配置连接服务器的端口GigabitEthernet3/0/1.
[SW1]interfacegigabitethernet3/0/1[SW1-GigabitEthernet3/0/1]portlink-typetrunk[SW1-GigabitEthernet3/0/1]porttrunkpermitvlanall[SW1-GigabitEthernet3/0/1]undoporttrunkpermitvlan1[SW1-GigabitEthernet3/0/1]quit3.
SW2的配置#创建连接IRF的聚合组,编号为1.
system-view[SW2]interfacebridge-aggregation1[SW2-Bridge-Aggregation1]quit#配置连接IRF的端口加入聚合组1.
[SW2]interfaceten-gigabitethernet4/0/1[SW2-Ten-GigabitEthernet4/0/1]portlink-aggregationgroup1[SW2-Ten-GigabitEthernet4/0/1]quit[SW2]interfaceten-gigabitethernet4/0/2[SW2-Ten-GigabitEthernet4/0/2]portlink-aggregationgroup1[SW2-Ten-GigabitEthernet4/0/2]quit#接入设备SW2上创建所有VLAN.
[SW2]vlanall#配置与IRF连接的端口.
[SW2]interfacebridge-aggregation1[SW2-Bridge-Aggregation1]portlink-typetrunk[SW2-Bridge-Aggregation1]undoporttrunkpermitvlan1[SW2-Bridge-Aggregation1]porttrunkpermitvlan20[SW2-Bridge-Aggregation1]quit#配置连接服务器的端口.
[SW2]interfacegigabitethernet3/0/1[SW2-GigabitEthernet3/0/1]portlink-typetrunk[SW2-GigabitEthernet3/0/1]porttrunkpermitvlanall[SW2-GigabitEthernet3/0/1]undoporttrunkpermitvlan18[SW2-GigabitEthernet3/0/1]quit4.
4.
4IRF上行业务配置1.
IRF的配置#创建连接出口路由器RouterA的聚合组,编号为1023.
[DeviceA]interfacebridge-aggregation1023[DeviceA-Bridge-Aggregation1023]quit#配置连接RouterA的端口加入聚合组1023.
[DeviceA]interfaceten-gigabitethernet1/3/0/7[DeviceA-Ten-GigabitEthernet1/3/0/7]portlink-aggregationgroup1023[DeviceA-Ten-GigabitEthernet1/3/0/7]quit[DeviceA]interfaceten-gigabitethernet2/3/0/7[DeviceA-Ten-GigabitEthernet2/3/0/7]portlink-aggregationgroup1023[DeviceA-Ten-GigabitEthernet2/3/0/7]quit#配置与RouterA之间通过Vlan-interface40连接.
[DeviceA]vlan40[DeviceA-vlan40]quit[DeviceA]interfacevlan-interface40[DeviceA-Vlan-interface40]ipaddress172.
24.
40.
25424[DeviceA-Vlan-interface40]quit[DeviceA]interfacebridge-aggregation1023[DeviceA-Bridge-Aggregation1023]portaccessvlan40[DeviceA-Bridge-Aggregation1023]quit#创建连接出口路由器RouterB的聚合组,编号为1024.
[DeviceA]interfacebridge-aggregation1024[DeviceA-Bridge-Aggregation1024]quit#配置连接RouterB的端口加入聚合组1024.
[DeviceA]interfaceten-gigabitethernet1/3/0/8[DeviceA-Ten-GigabitEthernet1/3/0/8]portlink-aggregationgroup1024[DeviceA-Ten-GigabitEthernet1/3/0/8]quit[DeviceA]interfaceten-gigabitethernet2/3/0/8[DeviceA-Ten-GigabitEthernet2/3/0/8]portlink-aggregationgroup1024[DeviceA-Ten-GigabitEthernet2/3/0/8]quit#配置与RouterB之间通过Vlan-interface41连接.
[DeviceA]vlan41[DeviceA-vlan41]quit[DeviceA]interfacevlan-interface41[DeviceA-Vlan-interface41]ipaddress172.
24.
41.
25424[DeviceA-Vlan-interface41]quit[DeviceA]interfacebridge-aggregation1024[DeviceA-Bridge-Aggregation1024]portaccessvlan41[DeviceA-Bridge-Aggregation1024]quit#配置IRF与出口路由器之间运行OSPF路由协议.
[DeviceA]ospf9[DeviceA-ospf-1]import-routedirect[DeviceA-ospf-1]area0[DeviceA-ospf-1-area-0.
0.
0.
0]network172.
24.
40.
00.
0.
0.
255[DeviceA-ospf-1-area-0.
0.
0.
0]network172.
24.
41.
00.
0.
0.
255[DeviceA-ospf-1-area-0.
0.
0.
0]quit[DeviceA-ospf-1]quit2.
RouterA的配置出口路由器配置本用例只描述与IRF连接的部分,外网使用何种路由协议不予描述.
#创建连接IRF的聚合组,编号为1.
system-view[RouterA]interfacebridge-aggregation1[RouterA-Bridge-Aggregation1]quit#配置连接IRF的端口加入聚合组1.
[RouterA]interfaceten-gigabitethernet4/0/1[RouterA-Ten-GigabitEthernet4/0/1]portlink-modebridge[RouterA-Ten-GigabitEthernet4/0/1]portlink-aggregationgroup1[RouterA-Ten-GigabitEthernet4/0/1]quit[RouterA]interfaceten-gigabitethernet2/0/1[RouterA-Ten-GigabitEthernet2/0/1]portlink-modebridge[RouterA-Ten-GigabitEthernet2/0/1]portlink-aggregationgroup1[RouterA-Ten-GigabitEthernet2/0/1]quit#配置与IRF之间通过Vlan-interface40连接.
[RouterA]vlan40[RouterA-vlan40]quit[RouterA]interfacevlan-interface40[RouterA-Vlan-interface40]ipaddress172.
24.
40.
224[RouterA-Vlan-interface40]quit[RouterA]interfacebridge-aggregation1[RouterA-Bridge-Aggregation1]portaccessvlan40[RouterA-Bridge-Aggregation1]quit#配置与RouterB之间通过Vlan-interface30连接.
[RouterA]vlan30[RouterA-vlan30]quit[RouterA]interfacevlan-interface30[RouterA-Vlan-interface30]ipaddress172.
24.
2.
224[RouterA-Vlan-interface30]quit[RouterA]interfacebridge-aggregation2[RouterA-Bridge-Aggregation2]portlink-typeaccess[RouterA-Bridge-Aggregation2]portaccessvlan30[RouterA-Bridge-Aggregation2]quit[RouterA]interfaceten-gigabitethernet4/0/2[RouterA-Ten-GigabitEthernet4/0/2]portlink-modebridge10[RouterA-Ten-GigabitEthernet4/0/2]portlink-aggregationgroup2[RouterA-Ten-GigabitEthernet4/0/2]quit[RouterA]interfaceten-gigabitethernet2/0/2[RouterA-Ten-GigabitEthernet2/0/2]portlink-modebridge[RouterA-Ten-GigabitEthernet2/0/2]portlink-aggregationgroup2[RouterA-Ten-GigabitEthernet2/0/2]quit#配置RouterA通过Vlan-interface50连接外网.
[RouterA]vlan50[RouterA-vlan50]quit[RouterA]interfacevlan-interface50[RouterA-Vlan-interface50]ipaddress172.
24.
1.
224[RouterA-Vlan-interface50]quit[RouterA]interfaceten-gigabitethernet4/0/3[RouterA-Ten-GigabitEthernet4/0/3]portlink-modebridge[RouterA-Ten-GigabitEthernet4/0/3]portaccessvlan50[RouterA-Ten-GigabitEthernet4/0/3]quit#配置RouterA与IRF之间运行OSPF路由协议.
[RouterA]ospf[RouterA-ospf-1]import-routedirect[RouterA-ospf-1]area0[RouterA-ospf-1-area-0.
0.
0.
0]network172.
24.
40.
00.
0.
0.
255[RouterA-ospf-1-area-0.
0.
0.
0]network172.
24.
2.
00.
0.
0.
255[RouterA-ospf-1-area-0.
0.
0.
0]quit[RouterA-ospf-1]quit3.
RouterB的配置#配置与IRF之间通过Vlan-interface41连接.
system-view[RouterB]vlan41[RouterB-vlan41]quit[RouterB]interfacevlan-interface41[RouterB-Vlan-interface41]ipaddress172.
24.
41.
324[RouterB-Vlan-interface41]quit[RouterB]interfacebridge-aggregation1[RouterB-Bridge-Aggregation1]portaccessvlan41[RouterB-Bridge-Aggregation1]quit[RouterB]interfacebridge-aggregation1[RouterB-Bridge-Aggregation1]quit[RouterB]interfaceten-gigabitethernet4/0/1[RouterB-Ten-GigabitEthernet4/0/1]portlink-modebridge[RouterB-Ten-GigabitEthernet4/0/1]portlink-aggregationgroup1[RouterB-Ten-GigabitEthernet4/0/1]quit[RouterB]interfaceten-gigabitethernet2/0/1[RouterB-Ten-GigabitEthernet2/0/1]portlink-modebridge[RouterB-Ten-GigabitEthernet2/0/1]portlink-aggregationgroup1[RouterB-Ten-GigabitEthernet2/0/1]quit#配置与RouterA之间通过Vlan-interface30连接.
11[RouterB]vlan30[RouterB-vlan30]quit[RouterB]interfacevlan-interface30[RouterB-Vlan-interface30]ipaddress172.
24.
2.
324[RouterB-Vlan-interface30]quit[RouterB]interfacebridge-aggregation2[RouterB-Bridge-Aggregation2]portlink-typeaccess[RouterB-Bridge-Aggregation2]portaccessvlan30[RouterB-Bridge-Aggregation2]quit[RouterB]interfaceten-gigabitethernet4/0/2[RouterB-Ten-GigabitEthernet4/0/2]portlink-aggregationgroup2[RouterB-Ten-GigabitEthernet4/0/2]quit[RouterB]interfaceten-gigabitethernet2/0/2[RouterB-Ten-GigabitEthernet2/0/2]portlink-aggregationgroup2[RouterB-Ten-GigabitEthernet2/0/2]quit#配置RouterB通过Vlan-interface50连接外网.
[RouterB]vlan50[RouterB-vlan50]quit[RouterB]interfacevlan-interface50[RouterB-Vlan-interface50]ipaddress172.
24.
4.
324[RouterB-Vlan-interface50]quit[RouterB]interfaceten-gigabitethernet4/0/3[RouterB-Ten-GigabitEthernet4/0/3]portlink-modebridge[RouterB-Ten-GigabitEthernet4/0/3]portaccessvlan50[RouterB-Ten-GigabitEthernet4/0/3]quit#配置RouterB与IRF之间运行OSPF路由协议.
[RouterB]ospf[RouterB-ospf-1]import-routedirect[RouterB-ospf-1]area0[RouterB-ospf-1-area-0.
0.
0.
0]network172.
24.
41.
00.
0.
0.
255[RouterB-ospf-1-area-0.
0.
0.
0]network172.
24.
2.
00.
0.
0.
255[RouterB-ospf-1-area-0.
0.
0.
0]quit[RouterB-ospf-1]quit4.
5验证配置(1)验证IRF建立成功[DeviceA]displayirfMemberIDSlotRolePriorityCPU-MacDescription*+10Master10210-fc01-0000---20Standby10210-fc02-0000---*indicatesthedeviceisthemaster.
+indicatesthedevicethroughwhichtheuserlogsin.
TheBridgeMACoftheIRFis:3822-d60f-2800Autoupgrade:yes12Macpersistent:alwaysDomainID:0Automerge:yes从命令行的显示看,当前两台设备IRF成功建立.
(2)验证跨框聚合有链路备份的作用从serverGroup1任意挑选一台PCping外网IP,关闭IRF的上行端口Ten-GigabitEthernet1/3/0/8,出现短暂中断后仍然可以ping通外网.
C:\Users>ping202.
108.
22.
5–t正在Ping202.
108.
22.
5具有32字节的数据:来自202.
108.
22.
5的回复:字节=32时间=1msTTL=122来自202.
108.
22.
5的回复:字节=32时间=13msTTL=122来自202.
108.
22.
5的回复:字节=32时间ping202.
108.
22.
5–t正在Ping202.
108.
22.
5具有32字节的数据:来自202.
108.
22.
5的回复:字节=32时间=1msTTL=122来自202.
108.
22.
5的回复:字节=32时间=13msTTL=122来自202.
108.
22.
5的回复:字节=32时间system-view[DeviceA]irfmember1(2)配置IRF端口1与物理端口Ten-GigabitEthernet2/0/4绑定[DeviceA]irf-port1[DeviceA-irf-port1]portgroupinterfaceten-gigabitethernet2/0/4[DeviceA-irf-port1]quit(3)配置IRF端口2与物理端口Ten-GigabitEthernet2/0/1绑定[DeviceA]irf-port2[DeviceA-irf-port2]portgroupinterfaceten-gigabitethernet2/0/1[DeviceA-irf-port2]quit(4)将当前配置保存到下次启动配置文件[DeviceA]saveThecurrentconfigurationwillbewrittentothedevice.
Areyousure[Y/N]:yPleaseinputthefilename(*.
cfg)[cfa0:/irf.
cfg](Toleavetheexistingfilenameunchanged,presstheenterkey):cfa0:/irf.
cfgexists,overwrite[Y/N]:yValidatingfile.
Pleasewait.
Savedthecurrentconfigurationtomainboarddevicesuccessfully.
(5)将DeviceA的运行模式切换到IRF模式之后,设备会自动重启[DeviceA]chassisconvertmodeirfThedevicewillswitchtoIRFmodeandreboot.
Youarerecommendedtosavethecurrentrunningconfigurationandspecifytheconfigurationfileforthenextstartup.
Continue[Y/N]:yDoyouwanttoconvertthecontentofthenextstartupconfigurationfileflash:/startup.
cfgtomakeitavailableinstackmode[Y/N]:yNowrebooting,pleasewait.
.
.
2.
DeviceB的配置(1)设置DeviceB的成员编号为2system-view[DeviceB]irfmember2(2)配置IRF端口1与物理端口Ten-GigabitEthernet4/0/2绑定[DeviceB]irf-port1[DeviceB-irf-port1]portgroupinterfaceten-gigabitethernet4/0/2[DeviceB-irf-port1]quit(3)配置IRF端口2与物理端口Ten-GigabitEthernet3/0/30绑定[DeviceB]irf-port2[DeviceB-irf-port2]portgroupinterfaceten-gigabitethernet3/0/30[DeviceB-irf-port2]quit(4)保存配置[DeviceB]saveThecurrentconfigurationwillbewrittentothedevice.
Areyousure[Y/N]:yPleaseinputthefilename(*.
cfg)[cfa0:/irf.
cfg](Toleavetheexistingfilenameunchanged,presstheenterkey):cfa0:/irf.
cfgexists,overwrite[Y/N]:yValidatingfile.
Pleasewait.
23Savedthecurrentconfigurationtomainboarddevicesuccessfully.
(5)参照图2和端口连接表连接DeviceA和DeviceB之间的IRF端口(6)将设备的运行模式切换到IRF模式[DeviceB]chassisconvertmodeirfThedevicewillswitchtoIRFmodeandreboot.
Youarerecommendedtosavethecurrentrunningconfigurationandspecifytheconfigurationfileforthenextstartup.
Continue[Y/N]:yDoyouwanttoconvertthecontentofthenextstartupconfigurationfileflash:/startup.
cfgtomakeitavailableinstackmode[Y/N]:yNowrebooting,pleasewait.
.
.
3.
DeviceC的配置(1)设置DeviceC的成员编号为3system-view[DeviceC]irfmember3(2)配置IRF端口1与物理端口Ten-GigabitEthernet3/0/15绑定[DeviceC]irf-port1[DeviceC-irf-port1]portgroupinterfaceten-gigabitethernet3/0/15[DeviceC-irf-port1]quit(3)配置IRF端口2与物理端口Ten-GigabitEthernet12/0/1绑定[DeviceC]irf-port2[DeviceC-irf-port2]portgroupinterfaceten-gigabitethernet12/0/1[DeviceC-irf-port2]quit(4)保存配置[DeviceC]saveThecurrentconfigurationwillbewrittentothedevice.
Areyousure[Y/N]:yPleaseinputthefilename(*.
cfg)[cfa0:/irf.
cfg](Toleavetheexistingfilenameunchanged,presstheenterkey):cfa0:/irf.
cfgexists,overwrite[Y/N]:yValidatingfile.
Pleasewait.
Savedthecurrentconfigurationtomainboarddevicesuccessfully.
(5)参照图2和端口连接表连接DeviceB和DeviceC之间的IRF端口(6)将设备的运行模式切换到IRF模式[DeviceC]chassisconvertmodeirfThedevicewillswitchtoIRFmodeandreboot.
Youarerecommendedtosavethecurrentrunningconfigurationandspecifytheconfigurationfileforthenextstartup.
Continue[Y/N]:yDoyouwanttoconvertthecontentofthenextstartupconfigurationfileflash:/startup.
cfgtomakeitavailableinstackmode[Y/N]:yNowrebooting,pleasewait.
.
.
4.
DeviceD的配置(1)设置DeviceD的成员编号为4system-view[DeviceD]irfmember424(2)配置IRF端口1与物理端口Ten-GigabitEthernet6/0/4绑定[DeviceD]irf-port1[DeviceD-irf-port1]portgroupinterfaceten-gigabitethernet6/0/4[DeviceD-irf-port1]quit(3)配置IRF端口2与物理端口Ten-GigabitEthernet6/0/2绑定[DeviceD]irf-port2[DeviceD-irf-port2]portgroupinterfaceten-gigabitethernet6/0/2[DeviceD-irf-port2]quit(4)保存配置[DeviceD]saveThecurrentconfigurationwillbewrittentothedevice.
Areyousure[Y/N]:yPleaseinputthefilename(*.
cfg)[cfa0:/irf.
cfg](Toleavetheexistingfilenameunchanged,presstheenterkey):cfa0:/irf.
cfgexists,overwrite[Y/N]:yValidatingfile.
Pleasewait.
Savedthecurrentconfigurationtomainboarddevicesuccessfully.
(5)参照图2和端口连接表连接DeviceC和DeviceD以及DeviceA和DeviceD之间的IRF端口(6)将设备的运行模式切换到IRF模式[DeviceD]chassisconvertmodeirfThedevicewillswitchtoIRFmodeandreboot.
Youarerecommendedtosavethecurrentrunningconfigurationandspecifytheconfigurationfileforthenextstartup.
Continue[Y/N]:yDoyouwanttoconvertthecontentofthenextstartupconfigurationfileflash:/startup.
cfgtomakeitavailableinstackmode[Y/N]:yNowrebooting,pleasewait.
.
.
5.
4.
2LACPMAD配置在前面配置完成并重新启动后,IRF已经组建完成,此时可以进行各个业务模块的配置.
IRF形成之后,可以从任何一台成员设备登录进行配置,设备名称缺省为Master的名称(此例中为DeviceA).
#创建连接接入层交换机SW1的动态聚合组,编号为1,并使能LACPMAD检测功能.
system-view[DeviceA]interfacebridge-aggregation1[DeviceA-Bridge-Aggregation1]link-aggregationmodedynamic[DeviceA-Bridge-Aggregation1]madenableYouneedtoassignadomainID(range:0-4294967295)[Currentdomainis:0]:TheassigneddomainIDis:0MADLACPonlyenableondynamicaggregationinterface.
[DeviceA-Bridge-Aggregation1]quit#使用接口批量配置功能配置连接SW1的端口加入聚合组1.
[DeviceA]interfacerangeten-gigabitethernet1/3/0/3ten-gigabitethernet2/3/0/3ten-gigabitethernet3/3/0/3ten-gigabitethernet4/3/0/325[DeviceA-if-range]portlink-aggregationgroup1[DeviceA-if-range]quit5.
4.
3IRF下行业务配置1.
IRF的配置#创建连接接入层交换机SW2的聚合组,编号为2.
[DeviceA]interfacebridge-aggregation2[DeviceA-Bridge-Aggregation2]quit#使用接口批量配置功能配置连接SW2的端口加入聚合组2.
[DeviceA]interfaceten-gigabitethernet1/3/0/4ten-gigabitethernet2/3/0/4ten-gigabitethernet3/3/0/4ten-gigabitethernet4/3/0/4[DeviceA-if-range]portlink-aggregationgroup2[DeviceA-if-range]quit#配置与SW1之间通过Vlan-interface10连接.
[DeviceA]vlan10[DeviceA-vlan10]quit[DeviceA]interfacevlan-interface10[DeviceA-Vlan-interface10]ipaddress172.
24.
10.
25424[DeviceA-Vlan-interface10]quit[DeviceA]interfacebridge-aggregation1[DeviceA-Bridge-Aggregation1]portlink-typetrunk[DeviceA-Bridge-Aggregation1]undoporttrunkpermitvlan1[DeviceA-Bridge-Aggregation1]porttrunkpermitvlan10[DeviceA-Bridge-Aggregation1]quit#配置与SW2之间通过Vlan-interface20连接.
[DeviceA]vlan20[DeviceA-vlan20]quit[DeviceA]interfacevlan-interface20[DeviceA-Vlan-interface20]ipaddress172.
24.
20.
25424[DeviceA-Vlan-interface20]quit[DeviceA]interfacebridge-aggregation2[DeviceA-Bridge-Aggregation2]portlink-typetrunk[DeviceA-Bridge-Aggregation2]undoporttrunkpermitvlan1[DeviceA-Bridge-Aggregation2]porttrunkpermitvlan20[DeviceA-Bridge-Aggregation2]quit2.
SW1的配置#创建连接IRF的动态聚合组,编号为1,该聚合组同时用于IRF的LACPMAD检测.
system-view[SW1]interfacebridge-aggregation1[SW1-Bridge-Aggregation1]link-aggregationmodedynamic[SW1-Bridge-Aggregation1]quit#使用接口批量配置功能配置连接IRF的端口加入聚合组1.
[SW1]interfacerangeten-gigabitethernet2/0/21toten-gigabitethernet2/0/24[SW1-if-range]portlink-aggregationgroup126[SW1-if-range]quit#接入设备SW1上创建所有VLAN.
[SW1]vlanall#配置与IRF连接的端口.
[SW1]interfacebridge-aggregation1[SW1-Bridge-Aggregation1]portlink-typetrunk[SW1-Bridge-Aggregation1]undoporttrunkpermitvlan1[SW1-Bridge-Aggregation1]porttrunkpermitvlan10[SW1-Bridge-Aggregation1]quit#配置连接服务器的端口GigabitEthernet3/0/1.
[SW1]interfacegigabitethernet3/0/1[SW1-GigabitEthernet3/0/1]portlink-typetrunk[SW1-GigabitEthernet3/0/1]porttrunkpermitvlanall[SW1-GigabitEthernet3/0/1]undoporttrunkpermitvlan1[SW1-GigabitEthernet3/0/1]quit3.
SW2的配置#创建连接IRF的聚合组,编号为1.
system-view[SW2]interfacebridge-aggregation1[SW2-Bridge-Aggregation1]quit#使用接口批量配置功能配置连接IRF的端口加入聚合组1.
[SW2]interfacerangeten-gigabitethernet2/0/21toten-gigabitethernet2/0/24[SW2-if-range]portlink-aggregationgroup1[SW2-if-range]quit#接入设备SW2上创建所有VLAN.
[SW2]vlanall#配置与IRF连接的端口.
[SW2]interfacebridge-aggregation1[SW2-Bridge-Aggregation1]portlink-typetrunk[SW2-Bridge-Aggregation1]undoporttrunkpermitvlan1[SW2-Bridge-Aggregation1]porttrunkpermitvlan20[SW2-Bridge-Aggregation1]quit#配置连接服务器的端口.
[SW2]interfacegigabitethernet3/0/1[SW2-GigabitEthernet3/0/1]portlink-typetrunk[SW2-GigabitEthernet3/0/1]porttrunkpermitvlanall[SW2-GigabitEthernet3/0/1]undoporttrunkpermitvlan1[SW2-GigabitEthernet3/0/1]quit5.
4.
4IRF上行业务配置1.
IRF的配置#创建连接出口路由器RouterA的聚合组,编号为1024.
[DeviceA]interfacebridge-aggregation102427[DeviceA-Bridge-Aggregation1024]quit#使用接口批量配置功能配置连接RouterA的端口加入聚合组1024.
[DeviceA]interfacerangeten-gigabitethernet1/3/0/8ten-gigabitethernet2/3/0/8ten-gigabitethernet3/3/0/8ten-gigabitethernet4/3/0/8[DeviceA-if-range]portlink-aggregationgroup1024[DeviceA-if-range]quit#配置与RouterA之间通过Vlan-interface41连接.
[DeviceA]vlan41[DeviceA-vlan41]quit[DeviceA]interfacevlan-interface41[DeviceA-Vlan-interface41]ipaddress172.
24.
41.
25424[DeviceA-Vlan-interface41]quit[DeviceA]interfacebridge-aggregation1024[DeviceA-Bridge-Aggregation1024]portaccessvlan41[DeviceA-Bridge-Aggregation1024]quit#配置IRF与出口路由器之间运行OSPF路由协议.
[DeviceA]interfaceloopback0[DeviceA-LoopBack0]ipaddress172.
24.
254.
1255.
255.
255.
255[DeviceA-LoopBack0]quit[DeviceA]ospf1router-id172.
24.
254.
1[DeviceA-ospf-1]import-routedirect[DeviceA-ospf-1]area0[DeviceA-ospf-1-area-0.
0.
0.
0]network172.
24.
41.
00.
0.
0.
255[DeviceA-ospf-1-area-0.
0.
0.
0]quit[DeviceA-ospf-1]quit2.
RouterA的配置出口路由器配置本用例只描述与IRF连接的部分,外网使用何种路由协议不予描述.
#创建连接IRF的聚合组,编号为1.
system-view[RouterA]interfacebridge-aggregation1[RouterA-Bridge-Aggregation1]quit#配置连接IRF的端口加入聚合组1.
[RouterA]interfacerangeten-gigabitethernet2/0/1tointerfaceten-gigabitethernet2/0/4[RouterA-if-range]portlink-aggregationgroup1[RouterA-if-range]quit#配置与IRF之间通过Vlan-interface41连接.
[RouterA]vlan41[RouterA-vlan41]quit[RouterA]interfacevlan-interface41[RouterA-Vlan-interface41]ipaddress172.
24.
41.
22428[RouterA-Vlan-interface41]quit[RouterA]interfacebridge-aggregation1[RouterA-Bridge-Aggregation1]portaccessvlan41[RouterA-Bridge-Aggregation1]quit#配置RouterA通过Vlan-interface50连接外网.
[RouterA]vlan50[RouterA-vlan50]quit[RouterA]interfacevlan-interface50[RouterA-Vlan-interface50]ipaddress172.
24.
1.
224[RouterA-Vlan-interface50]quit[RouterA]interfaceten-gigabitethernet4/0/3[RouterA-Ten-GigabitEthernet4/0/3]portlink-modebridge[RouterA-Ten-GigabitEthernet4/0/3]portaccessvlan50[RouterA-Ten-GigabitEthernet4/0/3]quit#配置RouterA与IRF之间运行OSPF路由协议.
[RouterA]interfaceloopback0[RouterA-LoopBack0]ipaddresss172.
24.
254.
2255.
255.
255.
255[RouterA-LoopBack0]quit[RouterA]ospf1router-id172.
24.
254.
2[RouterA-ospf-1]import-routedirect[RouterA-ospf-1]area0[RouterA-ospf-1-area-0.
0.
0.
0]network172.
24.
41.
00.
0.
0.
255[RouterA-ospf-1-area-0.
0.
0.
0]quit[RouterA-ospf-1]quit5.
5验证配置(1)验证IRF是否建立成功#使用displayirftopology命令查看八个IRF口都是UP状态,说明四台设备建立IRF成功.
displayirftopologyTopologyInfoIRF-Port1IRF-Port2SwitchLinkneighborLinkneighborBelongTo1UP4UP20210-fc01-00004UP3UP10210-fc01-00003UP2UP40210-fc01-00002UP1UP30210-fc01-0000(2)验证跨框聚合链路备份功能#从serverGroup1任意挑选一台PCping外网IP,同时关闭IRF的上行端口Ten-GigabitEthernet1/3/0/8.
[DeviceA]interfaceten-gigabitethernet1/3/0/8[DeviceA-Ten-GigabitEthernet1/3/0/8]shutdown仍然可以ping通外网.
29#重新开启IRF的上行端口Ten-GigabitEthernet1/3/0/8端口,持续ping外网IP.
[DeviceA-Ten-GigabitEthernet1/3/0/8]undoshutdown[DeviceA-Ten-GigabitEthernet1/3/0/8]quit#关闭IRF的另一个上行端口Ten-GigabitEthernet2/3/0/8.
[DeviceA]interfaceten-gigabitethernet2/3/0/8[DeviceA-Ten-GigabitEthernet2/3/0/8]undoshutdown仍然可以ping通外网.
5.
6配置文件IRF:#irfmac-addresspersistentalwaysirfauto-updateenableundoirfauto-mergeenableundoirflink-delayirfmember1priority1irfmember2priority1irfmember3priority1irfmember4priority1#ospf1router-id172.
24.
254.
1import-routedirectarea0.
0.
0.
0network172.
24.
41.
00.
0.
0.
255#vlan10#vlan20#vlan13#vlan41#irf-port1/1portgroupinterfaceTen-GigabitEthernet1/2/0/4modeenhanced#irf-port1/2portgroupinterfaceTen-GigabitEthernet1/2/0/1modeenhanced#irf-port2/1portgroupinterfaceTen-GigabitEthernet2/4/0/2modeenhanced#irf-port2/2portgroupinterfaceTen-GigabitEthernet2/3/0/30modeenhanced#irf-port3/130portgroupinterfaceTen-GigabitEthernet3/3/0/15modeenhanced#irf-port3/2portgroupinterfaceTen-GigabitEthernet3/12/0/1modeenhanced#irf-port4/1portgroupinterfaceTen-GigabitEthernet4/6/0/4modeenhanced#irf-port4/2portgroupinterfaceTen-GigabitEthernet4/6/0/2modeenhanced#interfacebridge-aggregation1portlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan10madenablelink-aggregationmodedynamic#interfacebridge-aggregation2portlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20#interfacebridge-aggregation1024portaccessvlan41#interfaceloopback0ipaddress172.
24.
254.
1255.
255.
255.
255#interfacevlan-interface10ipaddress172.
24.
10.
25424#interfacevlan-interface20ipaddress172.
24.
20.
25424#interfacevlan-interface41ipaddress172.
24.
41.
25424#interfaceTen-GigabitEthernet1/3/0/3portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan10portlink-aggregationgroup1#interfaceTen-GigabitEthernet1/3/0/4portlink-modebridgeportlink-typetrunk31undoporttrunkpermitvlan1porttrunkpermitvlan20portlink-aggregationgroup2#interfaceTen-GigabitEthernet1/3/0/8portlink-modebridgeportaccessvlan41portlink-aggregationgroup1024#interfaceTen-GigabitEthernet2/3/0/3portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan10portlink-aggregationgroup1#interfaceTen-GigabitEthernet2/3/0/4portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20portlink-aggregationgroup2#interfaceTen-GigabitEthernet2/3/0/8portlink-modebridgeportaccessvlan41portlink-aggregationgroup1024#interfaceTen-GigabitEthernet3/3/0/3portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan10portlink-aggregationgroup1#interfaceTen-GigabitEthernet3/3/0/4portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20portlink-aggregationgroup2#interfaceTen-GigabitEthernet3/3/0/8portlink-modebridgeportaccessvlan41portlink-aggregationgroup1024#interfaceTen-GigabitEthernet4/3/0/332portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan10portlink-aggregationgroup1#interfaceTen-GigabitEthernet4/3/0/4portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20portlink-aggregationgroup2#interfaceTen-GigabitEthernet4/3/0/8portlink-modebridgeportaccessvlan41portlink-aggregationgroup1024#SW1:#vlan10#interfacegigabitethernet3/0/1portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan2to4094#interfacebridge-aggregation1portlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan10link-aggregationmodedynamic#interfaceTen-GigabitEthernet2/0/21portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan10portlink-aggregationgroup1#interfaceTen-GigabitEthernet2/0/22portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan10portlink-aggregationgroup1#33interfaceTen-GigabitEthernet2/0/23portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan10portlink-aggregationgroup1#interfaceTen-GigabitEthernet2/0/24portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan10portlink-aggregationgroup1#SW2:#vlan20#interfacegigabitethernet3/0/1portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan2to4094#interfacebridge-aggregation1portlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20#interfaceTen-GigabitEthernet2/0/21portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20portlink-aggregationgroup1#interfaceTen-GigabitEthernet2/0/22portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20portlink-aggregationgroup1#interfaceTen-GigabitEthernet2/0/23portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan2034portlink-aggregationgroup1#interfaceTen-GigabitEthernet2/0/24portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20portlink-aggregationgroup1#RouterA:#ospf1router-id172.
24.
254.
2import-routedirectarea0.
0.
0.
0network172.
24.
41.
00.
0.
0.
255#vlan41#vlan50#interfacebridge-aggregation1portaccessvlan41#interfaceloopback0ipaddress172.
24.
254.
2255.
255.
255.
255#interfacevlan-interface41ipaddress172.
24.
41.
224#interfacevlan-interface50ipaddress172.
24.
1.
224#interfaceTen-GigabitEthernet2/0/1portlink-modebridgeportaccessvlan41portlink-aggregationgroup1#interfaceTen-GigabitEthernet2/0/2portlink-modebridgeportaccessvlan41portlink-aggregationgroup1#interfaceTen-GigabitEthernet2/0/3portlink-modebridgeportaccessvlan41portlink-aggregationgroup1#interfaceTen-GigabitEthernet2/0/435portlink-modebridgeportaccessvlan41portlink-aggregationgroup1#interfaceTen-GigabitEthernet2/0/12portlink-modebridgeportaccessvlan50#6IRF扩容升级配置举例6.
1组网需求由于网络规模迅速扩大,汇聚层SW设备扩展至N台,当前中心设备设备A和设备B组成IRF的转发能力已经不能满足需求.
现在需要在保留原有设备的基础上完成扩容,满足当前网络的转发需求.
采用的升级方案为:扩大汇聚层设备的IRF规模,升级成四框IRF来满足当前网络的转发需求,如图5所示.
图3升级之前组网图(两个IRF成员设备)IRFDeviceBDeviceA……SW1SW2SWNGE3/0/1GE3/0/1GE3/0/1ServerGroup1ServerGroup2ServerGroupXXXServerGroupN……RouterA36图4升级过程组网图(新增两个成员设备DeviceC和DeviceD)IRFDeviceBDeviceA……SW1SW2SWNGE3/0/1GE3/0/1GE3/0/1ServerGroup1ServerGroup2ServerGroupXXXServerGroupN……DeviceCDeviceDRouterA37图5升级之后组网图(采用BFDMAD)IP地址配置信息及设备间的互联端口信息请参见5四台成员设备的IRF配置举例.
6.
2配置思路为避免成员设备的单点故障影响到正常的业务转发,在IRF中配置跨框聚合端口进行业务转发.
为尽量降低IRF分裂对业务造成的影响,可在IRF中配置BFDMAD检测.
检测速度较快,组网形式灵活,对于中间设备没有要求,但是会占用额外的三层接口.
IRFDeviceBDeviceA……SW1SW2SWNGE3/0/1GE3/0/1GE3/0/1ServerGroup1ServerGroup2ServerGroupXXXServerGroupN……DeviceCDeviceDRouterAL2Switch386.
3使用版本本举例在S10500-CMW710-R7150版本上进行配置和验证.
6.
4配置注意事项BFDMAD与STP功能互斥,因此需要在用于BFDMAD检测的接口上关闭STP功能.
6.
5配置步骤如果新加入的DeviceC和DeviceD都是独立运行模式,搭建四框IRF的配置步骤请参考6.
5.
1搭建IRF(配置DeviceC和DeviceD加入IRF);如果新加入的DeviceC和DeviceD已经组成了另一个IRF(假设名称为IRF-C),搭建四框IRF的配置步骤请参考6.
5.
2搭建IRF(配置原IRF和IRF-C合并成IRF).
6.
5.
1搭建IRF(配置DeviceC和DeviceD加入IRF)由于DeviceA和DeviceB已经组成了IRF,所以只需将DeviceC和DeviceD加入IRF即可.
1.
IRF的配置(1)配置IRF端口1/1与物理端口Ten-GigabitEthernet1/2/0/4绑定system-view[DeviceA]interfaceten-gigabitethernet1/2/0/4[DeviceA-Ten-GigabitEthernet1/2/0/4]shutdown[DeviceA-Ten-GigabitEthernet1/2/0/4]quit[DeviceA]irf-port1/1[DeviceA-irf-port1/1]portgroupinterfaceten-gigabitethernet1/2/0/4[DeviceA-irf-port1/1]quit[DeviceA]interfaceten-gigabitethernet1/2/0/4[DeviceA-Ten-GigabitEthernet1/2/0/4]undoshutdown[DeviceA-Ten-GigabitEthernet1/2/0/4]quit(2)配置IRF端口2/2与物理端口Ten-GigabitEthernet2/3/0/30绑定[DeviceA]interfaceten-gigabitEthernet2/3/0/30[DeviceA-Ten-GigabitEthernet2/3/0/30]undoshutdown[DeviceA-Ten-GigabitEthernet2/3/0/30]quit[DeviceA]irf-port2/2[DeviceA-irf-port2/2]portgroupinterfaceten-gigabitethernet2/3/0/30[DeviceA-irf-port2/2]quit[DeviceA]interfaceten-gigabitEthernet2/3/0/30[DeviceA-Ten-GigabitEthernet2/3/0/30]undoshutdown[DeviceA-Ten-GigabitEthernet2/3/0/30]quit(3)将当前配置保存[DeviceA]saveThecurrentconfigurationwillbewrittentothedevice.
Areyousure[Y/N]:yPleaseinputthefilename(*.
cfg)[cfa0:/irf.
cfg](Toleavetheexistingfilenameunchanged,presstheenterkey):39cfa0:/irf.
cfgexists,overwrite[Y/N]:yValidatingfile.
Pleasewait.
Savedthecurrentconfigurationtomainboarddevicesuccessfully.
[DeviceA]irf-port-configurationactive2.
DeviceC的配置(1)设置DeviceC的成员编号为3system-view[DeviceC]irfmember3(2)配置IRF端口1与物理端口Ten-GigabitEthernet3/0/15绑定[DeviceC]irf-port1[DeviceC-irf-port1]portgroupinterfaceten-gigabitethernet3/0/15[DeviceC-irf-port1]quit(3)配置IRF端口2与物理端口Ten-GigabitEthernet12/0/1绑定[DeviceC]irf-port2[DeviceC-irf-port2]portgroupinterfaceten-gigabitethernet12/0/1[DeviceC-irf-port2]quit(4)保存配置[DeviceC]saveThecurrentconfigurationwillbewrittentothedevice.
Areyousure[Y/N]:yPleaseinputthefilename(*.
cfg)[cfa0:/irf.
cfg](Toleavetheexistingfilenameunchanged,presstheenterkey):cfa0:/irf.
cfgexists,overwrite[Y/N]:yValidatingfile.
Pleasewait.
Savedthecurrentconfigurationtomainboarddevicesuccessfully.
参照图5和端口连接表连接DeviceB和DeviceC之间的IRF端口.
(5)将设备的运行模式切换到IRF模式[DeviceC]chassisconvertmodeirfThedevicewillswitchtoIRFmodeandreboot.
Youarerecommendedtosavethecurrentrunningconfigurationandspecifytheconfigurationfileforthenextstartup.
Continue[Y/N]:yDoyouwanttoconvertthecontentofthenextstartupconfigurationfileflash:/startup.
cfgtomakeitavailableinstackmode[Y/N]:yNowrebooting,pleasewait.
.
.
3.
DeviceD的配置(1)设置DeviceD的成员编号为4system-view[DeviceD]irfmember4(2)创建IRF端口1与物理端口Ten-GigabitEthernet6/0/4绑定[DeviceD]irf-port1[DeviceD-irf-port1]portgroupinterfaceten-gigabitethernet6/0/4[DeviceD-irf-port1]quit(3)配置IRF端口2与物理端口Ten-GigabitEthernet6/0/2绑定[DeviceD]irf-port2[DeviceD-irf-port2]portgroupinterfaceten-gigabitethernet6/0/240[DeviceD-irf-port2]quit(4)保存配置[DeviceD]saveThecurrentconfigurationwillbewrittentothedevice.
Areyousure[Y/N]:yPleaseinputthefilename(*.
cfg)[cfa0:/irf.
cfg](Toleavetheexistingfilenameunchanged,presstheenterkey):cfa0:/irf.
cfgexists,overwrite[Y/N]:yValidatingfile.
Pleasewait.
Savedthecurrentconfigurationtomainboarddevicesuccessfully.
参照图5和端口连接表连接DeviceC和DeviceD以及DeviceA和DeviceD之间的IRF端口.
(5)将设备的运行模式切换到IRF模式[DeviceD]chassisconvertmodeirfThedevicewillswitchtoIRFmodeandreboot.
Youarerecommendedtosavethecurrentrunningconfigurationandspecifytheconfigurationfileforthenextstartup.
Continue[Y/N]:yDoyouwanttoconvertthecontentofthenextstartupconfigurationfileflash:/startup.
cfgtomakeitavailableinstackmode[Y/N]:yNowrebooting,pleasewait.
.
.
6.
5.
2搭建IRF(配置原IRF和IRF-C合并成IRF)1.
IRF的配置(1)配置IRF端口1/1与物理端口Ten-GigabitEthernet1/2/0/4绑定system-view[DeviceA]interfaceten-gigabitethernet1/2/0/4[DeviceA-Ten-GigabitEthernet1/2/0/4]shutdown[DeviceA-Ten-GigabitEthernet1/2/0/4]quit[DeviceA]irf-port1/1[DeviceA-irf-port1/1]portgroupinterfaceten-gigabitethernet1/2/0/4[DeviceA-irf-port1/1]quit[DeviceA]interfaceten-gigabitethernet1/2/0/4[DeviceA-Ten-GigabitEthernet1/2/0/4]undoshutdown[DeviceA-Ten-GigabitEthernet1/2/0/4]quit(2)配置IRF端口2/2与物理端口GigabitEthernet2/3/0/30绑定[DeviceA]interfacegigabitethernet2/3/0/30[DeviceA-GigabitEthernet2/3/0/30]shutdown[DeviceA-GigabitEthernet2/3/0/30]quit[DeviceA]irf-port2/2[DeviceA-irf-port2/2]portgroupinterfacegigabitethernet2/3/0/30[DeviceA-irf-port2/2]quit[DeviceA]interfacegigabitethernet2/3/0/30[DeviceA-GigabitEthernet2/3/0/30]undoshutdown[DeviceA-GigabitEthernet2/3/0/30]quit(3)将当前配置保存[DeviceA]saveThecurrentconfigurationwillbewrittentothedevice.
Areyousure[Y/N]:y41Pleaseinputthefilename(*.
cfg)[cfa0:/irf.
cfg](Toleavetheexistingfilenameunchanged,presstheenterkey):cfa0:/irf.
cfgexists,overwrite[Y/N]:yValidatingfile.
Pleasewait.
Savedthecurrentconfigurationtomainboarddevicesuccessfully.
[DeviceA]irf-port-configurationactive2.
IRF-C的配置(1)设置IRF-C的成员编号system-view[DeviceC]irfmember1remember3RenumberingthememberIDmayresultinconfigurationchangeorloss.
Continue[Y/N]y[DeviceC]irfmember2remember4RenumberingthememberIDmayresultinconfigurationchangeorloss.
Continue[Y/N]y(2)保存当前配置并重启,使新的成员编号生效[DeviceC]quitrebootStarttocheckconfigurationwithnextstartupconfigurationfile,pleasewait.
.
.
.
.
.
.
.
.
DONE!
Currentconfigurationmaybelostafterthereboot,savecurrentconfiguration[Y/N]:yPleaseinputthefilename(*.
cfg)[cfa0:/irf.
cfg](Toleavetheexistingfilenameunchanged,presstheenterkey):Thiscommandwillrebootthedevice.
Continue[Y/N]:y(3)配置IRF端口3/1与物理端口GigabitEthernet3/3/0/15绑定system-view[DeviceC]interfacegigabitethernet3/3/0/15[DeviceC-GigabitEthernet3/3/0/15]shutdown[DeviceC-GigabitEthernet3/3/0/15]quit[DeviceC]irf-port3/1[DeviceC-irf-port3/1]portgroupinterfacegigabitethernet3/3/0/15[DeviceC-irf-port3/1]quit[DeviceC]interfacegigabitethernet3/3/0/15[DeviceC-GigabitEthernet3/3/0/15]undoshutdown[DeviceC-GigabitEthernet3/3/0/15]quit(4)配置IRF端口4/2与物理端口Ten-GigabitEthernet4/6/0/2绑定[DeviceD]interfaceten-gigabitethernet4/6/0/2[DeviceD-Ten-GigabitEthernet4/6/0/2]shutdown[DeviceD-Ten-GigabitEthernet4/6/0/2]quit[DeviceD]irf-port4/2[DeviceD-irf-port4/2]portgroupinterfaceten-gigabitethernet4/6/0/2[DeviceD-irf-port4/2]quit[DeviceD]interfaceten-gigabitethernet4/6/0/2[DeviceD-Ten-GigabitEthernet4/6/0/2]undoshutdown[DeviceD-Ten-GigabitEthernet4/6/0/2]quit42(5)将当前配置保存[DeviceC]saveThecurrentconfigurationwillbewrittentothedevice.
Areyousure[Y/N]:yPleaseinputthefilename(*.
cfg)[cfa0:/irf.
cfg](Toleavetheexistingfilenameunchanged,presstheenterkey):cfa0:/irf.
cfgexists,overwrite[Y/N]:yValidatingfile.
Pleasewait.
Savedthecurrentconfigurationtomainboarddevicesuccessfully.
[DeviceC]irf-port-configurationactive参照图5和端口连接表连接DeviceB和DeviceC以及DeviceA和DeviceD之间的IRF端口.
6.
5.
3BFDMAD配置在前面配置完成并重新启动后,IRF已经形成,此时可以进行各个业务模块的配置.
IRF形成之后,可以从任何一台成员设备登录进行配置,设备名称缺省为Master的名称(此例中为DeviceA).
使能BFDMAD检测时,要求MADVLAN上不能配置其他业务.
#在IRF上创建Vlan-interface13用于BFDMAD检测.
system-view[DeviceA]vlan13[DeviceA-vlan13]quit[DeviceA]interfacevlan-interface13[DeviceA-Vlan-interface13]madbfdenable[DeviceA-Vlan-interface13]madipaddress172.
1.
1.
124member1[DeviceA-Vlan-interface13]madipaddress172.
1.
1.
224member2[DeviceA-Vlan-interface13]madipaddress172.
1.
1.
324member3[DeviceA-Vlan-interface13]madipaddress172.
1.
1.
424member4[DeviceA-Vlan-interface13]undoshutdown[DeviceA-Vlan-interface13]quit#配置IRF连接L2Switch的二层以太网接口加入VLAN13,并取消接口上的STP功能.
[DeviceA]interfacerangeten-gigabitEthernet1/3/0/1ten-gigabitEthernet2/3/0/1ten-gigabitEthernet3/3/0/1ten-gigabitEthernet4/3/0/1[DeviceA-if-range]undostpenable[DeviceA-if-range]portaccessvlan13[DeviceA-if-range]quit6.
5.
4IRF下行业务配置在本例中,为方便理解,我们取消了升级之前IRF设备上的所有业务配置.
但是在实际使用中,部分在升级之前已经部署的业务可以无需再重新配置了(例如端口IP地址等).
431.
IRF的配置#创建连接接入层交换机SW1的聚合组,编号为1.
[DeviceA]interfacebridge-aggregation1[DeviceA-Bridge-Aggregation1]quit#使用接口批量配置功能配置连接SW1的端口加入聚合组1.
[DeviceA]interfacerangeten-gigabitEthernet1/3/0/3ten-gigabitEthernet2/3/0/3ten-gigabitEthernet3/3/0/3ten-gigabitEthernet4/3/0/3[DeviceA-if-range]portlink-aggregationgroup1[DeviceA-if-range]quit#创建连接接入层交换机SW2的聚合组,编号为2.
[DeviceA]interfacebridge-aggregation2[DeviceA-Bridge-Aggregation2]quit#使用接口批量配置功能配置连接SW2的端口加入聚合组2.
[DeviceA]interfacerangeten-gigabitEthernet1/3/0/4ten-gigabitEthernet2/3/0/4ten-gigabitEthernet3/3/0/4ten-gigabitEthernet4/3/0/4[DeviceA-if-range]portlink-aggregationgroup2[DeviceA-if-range]quit#配置与SW1之间通过Vlan-interface10连接.
[DeviceA]vlan10[DeviceA-vlan10]quit[DeviceA]interfacevlan-interface10[DeviceA-Vlan-interface10]ipaddress172.
24.
10.
25424[DeviceA-Vlan-interface10]quit[DeviceA]interfacebridge-aggregation1[DeviceA-Bridge-Aggregation1]portlink-typetrunk[DeviceA-Bridge-Aggregation1]undoporttrunkpermitvlan1[DeviceA-Bridge-Aggregation1]porttrunkpermitvlan10[DeviceA-Bridge-Aggregation1]quit#配置与SW2之间通过Vlan-interface20连接.
[DeviceA]vlan20[DeviceA-vlan20]quit[DeviceA]interfacevlan-interface20[DeviceA-Vlan-interface20]ipaddress172.
24.
20.
25424[DeviceA-Vlan-interface20]quit[DeviceA]interfacebridge-aggregation2[DeviceA-Bridge-Aggregation2]portlink-typetrunk[DeviceA-Bridge-Aggregation2]undoporttrunkpermitvlan1[DeviceA-Bridge-Aggregation2]porttrunkpermitvlan20[DeviceA-Bridge-Aggregation2]quit2.
SW1的配置#创建连接IRF的聚合组,编号为1.
system-view[SW1]interfacebridge-aggregation144[SW1-Bridge-Aggregation1]quit#使用接口批量配置功能配置连接IRF的端口加入聚合组1.
[SW1]interfacerangeten-gigabitethernet2/0/21toten-gigabitethernet2/0/24[SW1-if-range]portlink-aggregationgroup1[SW1-if-range]quit#接入设备SW1上创建所有VLAN.
[SW1]vlanall#配置与IRF连接的端口.
[SW1]interfacebridge-aggregation1[SW1-Bridge-Aggregation1]portlink-typetrunk[SW1-Bridge-Aggregation1]undoporttrunkpermitvlan1[SW1-Bridge-Aggregation1]porttrunkpermitvlan10[SW1-Bridge-Aggregation1]quit#配置连接服务器的端口GigabitEthernet3/0/1.
[SW1]interfacegigabitethernet3/0/1[SW1-GigabitEthernet3/0/1]portlink-typetrunk[SW1-GigabitEthernet3/0/1]porttrunkpermitvlanall[SW1-GigabitEthernet3/0/1]undoporttrunkpermitvlan1[SW1-GigabitEthernet3/0/1]quit3.
SW2的配置#创建连接IRF的聚合组,编号为1.
system-view[SW2]interfacebridge-aggregation1[SW2-Bridge-Aggregation1]quit#使用接口批量配置功能配置连接IRF的端口加入聚合组1.
[SW2]interfacerangeten-gigabitethernet2/0/21toten-gigabitethernet2/0/24[SW2-if-range]portlink-aggregationgroup1[SW2-if-range]quit#接入设备SW2上创建所有VLAN.
[SW2]vlanall#配置与IRF连接的端口.
[SW2]interfacebridge-aggregation1[SW2-Bridge-Aggregation1]portlink-typetrunk[SW2-Bridge-Aggregation1]undoporttrunkpermitvlan1[SW2-Bridge-Aggregation1]porttrunkpermitvlan20[SW2-Bridge-Aggregation1]quit#配置连接服务器的端口.
[SW2]interfacegigabitethernet3/0/1[SW2-GigabitEthernet3/0/1]portlink-typetrunk[SW2-GigabitEthernet3/0/1]porttrunkpermitvlanall[SW2-GigabitEthernet3/0/1]undoporttrunkpermitvlan1[SW2-GigabitEthernet3/0/1]quit456.
5.
5IRF上行业务配置1.
IRF的配置#创建连接出口路由器RouterA的聚合组,编号为1024.
[DeviceA]interfacebridge-aggregation1024[DeviceA-Bridge-Aggregation1024]quit#使用接口批量配置功能配置连接RouterA的端口加入聚合组1024.
[DeviceA]interfacerangeten-gigabitethernet1/3/0/8ten-gigabitethernet2/3/0/8ten-gigabitethernet3/3/0/8ten-gigabitethernet4/3/0/8[DeviceA-if-range]portlink-aggregationgroup1024[DeviceA-if-range]quit#配置与RouterA之间通过Vlan-interface41连接.
[DeviceA]vlan41[DeviceA-vlan41]quit[DeviceA]interfacevlan-interface41[DeviceA-Vlan-interface41]ipaddress172.
24.
41.
25424[DeviceA-Vlan-interface41]quit[DeviceA]interfacebridge-aggregation1024[DeviceA-Bridge-Aggregation1024]portaccessvlan41[DeviceA-Bridge-Aggregation1024]quit#配置IRF与出口路由器之间运行OSPF路由协议.
[DeviceA]interfaceloopback0[DeviceA-LoopBack0]ipaddress172.
24.
254.
1255.
255.
255.
255[DeviceA-LoopBack0]quit[DeviceA]ospf1router-id172.
24.
254.
1[DeviceA-ospf-1]import-routedirect[DeviceA-ospf-1]area0[DeviceA-ospf-1-area-0.
0.
0.
0]network172.
24.
41.
00.
0.
0.
255[DeviceA-ospf-1-area-0.
0.
0.
0]quit[DeviceA-ospf-1]quit2.
RouterA的配置出口路由器配置本用例只描述与IRF连接的部分,外网使用何种路由协议不予描述.
#创建连接IRF的聚合组,编号为1.
system-view[RouterA]interfacebridge-aggregation1[RouterA-Bridge-Aggregation1]quit#配置连接IRF的端口加入聚合组1.
[RouterA]interfacerangeten-gigabitethernet2/0/1tointerfaceten-gigabitethernet2/0/4[RouterA-if-range]portlink-aggregationgroup1[RouterA-if-range]quit46#配置与IRF之间通过Vlan-interface41连接.
[RouterA]vlan41[RouterA-vlan41]quit[RouterA]interfacevlan-interface41[RouterA-Vlan-interface41]ipaddress172.
24.
41.
224[RouterA-Vlan-interface41]quit[RouterA]interfacebridge-aggregation1[RouterA-Bridge-Aggregation1]portaccessvlan41[RouterA-Bridge-Aggregation1]quit#配置RouterA通过Vlan-interface50连接外网.
[RouterA]vlan50[RouterA-vlan50]quit[RouterA]interfacevlan-interface50[RouterA-Vlan-interface50]ipaddress172.
24.
1.
224[RouterA-Vlan-interface50]quit[RouterA]interfaceten-gigabitethernet4/0/3[RouterA-Ten-GigabitEthernet4/0/3]portlink-modebridge[RouterA-Ten-GigabitEthernet4/0/3]portaccessvlan50[RouterA-Ten-GigabitEthernet4/0/3]quit#配置RouterA与IRF之间运行OSPF路由协议.
[RouterA]interfaceloopback0[RouterA-LoopBack0]ipaddresss172.
24.
254.
2255.
255.
255.
255[RouterA-LoopBack0]quit[RouterA]ospf1router-id172.
24.
254.
2[RouterA-ospf-1]import-routedirect[RouterA-ospf-1]area0[RouterA-ospf-1-area-0.
0.
0.
0]network172.
24.
41.
00.
0.
0.
255[RouterA-ospf-1-area-0.
0.
0.
0]quit[RouterA-ospf-1]quit6.
6验证配置(1)验证IRF是否建立成功#使用displayirftopology命令查看八个IRF口都是UP状态,说明四台设备建立IRF成功.
displayirftopologyTopologyInfoIRF-Port1IRF-Port2SwitchLinkneighborLinkneighborBelongTo1UP4UP20210-fc01-00004UP3UP10210-fc01-00003UP2UP40210-fc01-00002UP1UP30210-fc01-0000(2)验证跨框聚合链路备份功能47#从serverGroup1任意挑选一台PCping外网IP,同时将IRF连接出口路由器的Ten-GigabitEthernet1/3/0/8端口shutdown.
[DeviceA]interfaceten-gigabitethernet1/3/0/8[DeviceA-Ten-GigabitEthernet1/3/0/8]shutdown仍然可以ping通外网.
#重新使Ten-GigabitEthernet1/3/0/8端口状态UP,持续ping外网IP.
[DeviceA-Ten-GigabitEthernet1/3/0/8]undoshutdown[DeviceA-Ten-GigabitEthernet1/3/0/8]quit#将另外一个上行端口Ten-GigabitEthernet2/3/0/8shutdown.
[DeviceA]interfaceten-gigabitethernet2/3/0/8[DeviceA-Ten-GigabitEthernet2/3/0/8]undoshutdown仍然可以ping通外网.
6.
7配置文件IRF:#irfmac-addresspersistentalwaysirfauto-updateenableundoirfauto-mergeenableundoirflink-delayirfmember1priority1irfmember2priority1irfmember3priority1irfmember4priority1#ospf1router-id172.
24.
254.
1import-routedirectarea0.
0.
0.
0network172.
24.
41.
00.
0.
0.
255#vlan10#vlan20#vlan13#vlan41#irf-port1/1portgroupinterfaceTen-GigabitEthernet1/2/0/4modeenhanced#irf-port1/2portgroupinterfaceTen-GigabitEthernet1/2/0/1modeenhanced#irf-port2/148portgroupinterfaceTen-GigabitEthernet2/4/0/2modeenhanced#irf-port2/2portgroupinterfaceTen-GigabitEthernet2/3/0/30modeenhanced#irf-port3/1portgroupinterfaceTen-GigabitEthernet3/3/0/15modeenhanced#irf-port3/2portgroupinterfaceTen-GigabitEthernet3/12/0/1modeenhanced#irf-port4/1portgroupinterfaceTen-GigabitEthernet4/6/0/4modeenhanced#irf-port4/2portgroupinterfaceTen-GigabitEthernet4/6/0/2modeenhanced#interfacebridge-aggregation1portlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan10madenablelink-aggregationmodedynamic#interfacebridge-aggregation2portlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20#interfacebridge-aggregation1024portaccessvlan41#interfaceloopback0ipaddress172.
24.
254.
1255.
255.
255.
255#interfacevlan-interface10ipaddress172.
24.
10.
25424#interfacevlan-interface13madbfdenablemadipaddress1.
1.
1.
4255.
255.
255.
0member1madipaddress1.
1.
1.
1255.
255.
255.
0member2madipaddress1.
1.
1.
2255.
255.
255.
0member3madipaddress1.
1.
1.
3255.
255.
255.
0member4#interfacevlan-interface20ipaddress172.
24.
20.
25424#49interfacevlan-interface41ipaddress172.
24.
41.
25424#interfaceTen-GigabitEthernet1/3/0/1portlink-modebridgeportaccessvlan13undostpenable#interfaceTen-GigabitEthernet1/3/0/3portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan10portlink-aggregationgroup1#interfaceTen-GigabitEthernet1/3/0/4portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20portlink-aggregationgroup2#interfaceTen-GigabitEthernet1/3/0/8portlink-modebridgeportaccessvlan41portlink-aggregationgroup1024#interfaceTen-GigabitEthernet2/3/0/1portlink-modebridgeportaccessvlan13undostpenable#interfaceTen-GigabitEthernet2/3/0/3portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan10portlink-aggregationgroup1#interfaceTen-GigabitEthernet2/3/0/4portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20portlink-aggregationgroup2#interfaceTen-GigabitEthernet2/3/0/8portlink-modebridge50portaccessvlan41portlink-aggregationgroup1024#interfaceTen-GigabitEthernet3/3/0/1portlink-modebridgeportaccessvlan13undostpenable#interfaceTen-GigabitEthernet3/3/0/3portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan10portlink-aggregationgroup1#interfaceTen-GigabitEthernet3/3/0/4portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20portlink-aggregationgroup2#interfaceTen-GigabitEthernet3/3/0/8portlink-modebridgeportaccessvlan41portlink-aggregationgroup1024#interfaceTen-GigabitEthernet4/3/0/1portlink-modebridgeportaccessvlan13undostpenable#interfaceTen-GigabitEthernet4/3/0/3portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan10portlink-aggregationgroup1#interfaceTen-GigabitEthernet4/3/0/4portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20portlink-aggregationgroup2#interfaceTen-GigabitEthernet4/3/0/8portlink-modebridge51portaccessvlan41portlink-aggregationgroup1024#SW1:#vlan10#interfacebridge-aggregation1portlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan10link-aggregationmodedynamic#interfacegigabitethernet3/0/1portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan2to4094#interfaceTen-GigabitEthernet2/0/21portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan10portlink-aggregationgroup1#interfaceTen-GigabitEthernet2/0/22portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan10portlink-aggregationgroup1#interfaceTen-GigabitEthernet2/0/23portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan10portlink-aggregationgroup1#interfaceTen-GigabitEthernet2/0/24portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan10portlink-aggregationgroup1#SW2:52#vlan20#interfacebridge-aggregation1portlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20#interfacegigabitethernet3/0/1portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan2to4094#interfaceTen-GigabitEthernet2/0/21portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20portlink-aggregationgroup1#interfaceTen-GigabitEthernet2/0/22portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20portlink-aggregationgroup1#interfaceTen-GigabitEthernet2/0/23portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20portlink-aggregationgroup1#interfaceTen-GigabitEthernet2/0/24portlink-modebridgeportlink-typetrunkundoporttrunkpermitvlan1porttrunkpermitvlan20portlink-aggregationgroup1#interfaceTen-GigabitEthernet2/0/41portlink-modebridgeportaccessvlan13#interfaceTen-GigabitEthernet2/0/42portlink-modebridge53portaccessvlan13#interfaceTen-GigabitEthernet2/0/43portlink-modebridgeportaccessvlan13#interfaceTen-GigabitEthernet2/0/44portlink-modebridgeportaccessvlan13#RouterA:#ospf1router-id172.
24.
254.
2import-routedirectarea0.
0.
0.
0network172.
24.
41.
00.
0.
0.
255#vlan41#vlan50#interfacebridge-aggregation1portaccessvlan41#interfaceloopback0ipaddress172.
24.
254.
2255.
255.
255.
255#interfacevlan-interface41ipaddress172.
24.
41.
224#interfacevlan-interface50ipaddress172.
24.
1.
224#interfaceTen-GigabitEthernet2/0/1portlink-modebridgeportaccessvlan41portlink-aggregationgroup1#interfaceTen-GigabitEthernet2/0/2portlink-modebridgeportaccessvlan41portlink-aggregationgroup1#interfaceTen-GigabitEthernet2/0/3portlink-modebridgeportaccessvlan41portlink-aggregationgroup1#54interfaceTen-GigabitEthernet2/0/4portlink-modebridgeportaccessvlan41portlink-aggregationgroup1#interfaceTen-GigabitEthernet2/0/12portlink-modebridgeportaccessvlan50#7相关资料H3CS10500系列交换机虚拟化技术配置指导-Release7150H3CS10500系列交换机虚拟化技术命令参考-Release7150

hostio荷兰10Gbps带宽,10Gbps带宽,€5/月,最低配2G内存+2核+5T流量

成立于2006年的荷兰Access2.IT Group B.V.(可查:VAT: NL853006404B01,CoC: 58365400) 一直运作着主机周边的业务,当前正在对荷兰的高性能AMD平台的VPS进行5折优惠,所有VPS直接砍一半。自有AS208258,vps母鸡配置为Supermicro 1024US-TRT 1U,2*AMD Epyc 7452(64核128线程),16条32G D...

[黑五]ProfitServer新加坡/德国/荷兰/西班牙VPS五折,不限流量KVM月付2.88美元起

ProfitServer已开启了黑色星期五的促销活动,一直到本月底,商家新加坡、荷兰、德国和西班牙机房VPS直接5折,无码直购最低每月2.88美元起,不限制流量,提供IPv4+IPv6。这是一家始于2003年的俄罗斯主机商,提供虚拟主机、VPS、独立服务器、SSL证书、域名等产品,可选数据中心包括俄罗斯、法国、荷兰、美国、新加坡、拉脱维亚、捷克、保加利亚等多个国家和地区。我们随便以一个数据中心为例...

提速啦:美国多IP站群云服务器 8核8G 10M带宽 7IP 88元/月

提速啦(www.tisula.com)是赣州王成璟网络科技有限公司旗下云服务器品牌,目前拥有在籍员工40人左右,社保在籍员工30人+,是正规的国内拥有IDC ICP ISP CDN 云牌照资质商家,2018-2021年连续4年获得CTG机房顶级金牌代理商荣誉 2021年赣州市于都县创业大赛三等奖,2020年于都电子商务示范企业,2021年于都县电子商务融合推广大使。资源优势介绍:Ceranetwo...

软件虚拟化为你推荐
h连锁酒店世界知名的连锁酒店有哪些?西部妈妈网九芽妈妈网加盟费多少同ip网站查询同ip地址站点查询 我本地怎么查询不了bbs.99nets.com怎么把电脑的IP设置和路由器一个网段丑福晋历史上真正的八福晋是什么样子的?ip查询器查看自己IP的指令www.hyyan.com请问我是HY了吗?在线等www.ca800.comPLC好学吗bk乐乐BK乐乐和沈珂什么关系?bk乐乐bk乐乐和CK是什么关系?
手机网站空间 云南虚拟主机 重庆服务器租用 樊云 20g硬盘 godaddy支付宝 监控宝 服务器日志分析 anylink 阿里云浏览器 linux空间 200g硬盘 域名接入 1g空间 爱奇艺vip免费领取 鲁诺 双线asp空间 1元域名 空间登入 架设邮件服务器 更多