H3C IRF堆叠典型配置举例_第1页
H3C IRF堆叠典型配置举例_第2页
H3C IRF堆叠典型配置举例_第3页
H3C IRF堆叠典型配置举例_第4页
H3C IRF堆叠典型配置举例_第5页
已阅读5页,还剩4页未读 继续免费阅读

下载本文档

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

文档简介

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

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

3、160;     配置设备编号# Device A保留缺省编号为1,不需要进行配置。# 在Device B上将设备的成员编号修改为2。<DeviceB> system-viewDeviceB irf member 1 renumber 2Warning: Renumbering the switch number may result in configuration change or loss. Continue? Y/N:yDeviceB(2)      将两台设备断

4、电后,按图1-13所示连接IRF链路,然后将两台设备上电。# 在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

5、-irf-port 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-Gigabit

6、Ethernet2/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端口配置。DeviceA-Ten-Gig

7、abitEthernet1/0/25 quitDeviceA irf-port-configuration active# 激活DeviceB的IRF端口配置。DeviceB-Ten-GigabitEthernet2/0/26 quitDeviceB irf-port-configuration active(3)      两台设备间会进行Master竞选,竞选失败的一方将自动重启,重启完成后,IRF形成,系统名称统一为DeviceA。(4)      配置LAC

8、P MAD检测# 创建一个动态聚合端口,并使能LACP MAD检测功能。<DeviceA> system-viewDeviceA interface bridge-aggregation 2DeviceA-Bridge-Aggregation2 link-aggregation mode dynamicDeviceA-Bridge-Aggregation2 mad enableDeviceA-Bridge-Aggregation2 quit# 在聚合接口中添加成员端口GigabitEthernet1/0/1和GigabitEthernet2/0/1,专用于两台IRF成员设

9、备与中间设备进行LACP MAD检测。DeviceA interface gigabitethernet 1/0/1DeviceA-GigabitEthernet1/0/1 port link-aggregation group 2DeviceA-GigabitEthernet1/0/1 quitDeviceA interface gigabitethernet 2/0/1DeviceA-GigabitEthernet2/0/1 port link-aggregation group 2(5)      中间设备Device C的配置

10、Device C作为一台中间设备需要支持LACP功能,用来转发、处理LACP协议报文,协助Device A和Device B进行多Active检测。从节约成本的角度考虑,使用一台支持LACP功能的交换机即可。# 创建一个动态聚合端口。<DeviceC> system-viewDeviceC interface bridge-aggregation 2DeviceC-Bridge-Aggregation2 link-aggregation mode dynamicDeviceC-Bridge-Aggregation2 quit# 在聚合端口中添加成员端口Gigab

11、itEthernet1/0/1和GigabitEthernet1/0/2,用于进行LACP MAD检测。DeviceC interface gigabitethernet 1/0/1DeviceC-GigabitEthernet1/0/1 port link-aggregation group 2DeviceC-GigabitEthernet1/0/1 quitDeviceC interface gigabitethernet 1/0/2DeviceC-GigabitEthernet1/0/2 port link-aggregation group 2# 按图1-13所示连接LACP

12、 MAD链路。1.1.2  IRF典型配置举例(BFD MAD检测方式)1. 组网需求由于网络规模迅速扩大,当前中心交换机(Device A)转发能力已经不能满足需求,现需要在保护现有投资的基础上将网络转发能力提高一倍,并要求网络易管理、易维护。2. 组网图图1-14 IRF典型配置组网图(BFD MAD检测方式)  3. 配置思路l   Device A处于局域网的汇聚层,为了将汇聚层的转发能力提高一倍,需要另外增加一台设备Device B。l   鉴于第二代智能弹性架构IRF技术具有管理简便、网络扩展

13、能力强、可靠性高等优点,所以本例使用IRF技术构建网络汇聚层(即在Device A和Device B上配置IRF功能),接入层设备通过聚合双链路上行。l   为了防止万一IRF链路故障导致IRF分裂、网络中存在两个配置冲突的IRF,需要启用MAD检测功能。因为成员设备比较少,我们采用BFD MAD检测方式来监测IRF的状态。4. 配置步骤为便于区分,下文配置中假设IRF形成前Device A的系统名称为DeviceA,Device B的系统名称为Device B。 (1)      配置设备编号

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

15、上创建设备的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-port 1/2 quitDeviceA interface ten-

16、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

17、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-port-

18、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上的端口GigabitE

19、thernet1/0/1和Device B上的端口GigabitEthernet2/0/1加入VLAN中。<DeviceA> system-viewDeviceA vlan 3DeviceA-vlan3 port gigabitethernet 1/0/1 gigabitethernet 2/0/1DeviceA-vlan3 quit# 创建VLAN接口3,并配置MAD IP地址。DeviceA interface vlan-interface 3DeviceA-Vlan-interface3 mad bfd enableDeviceA-Vlan-interface3 mad ip

20、 address 192.168.2.1 24 member 1DeviceA-Vlan-interface3 mad ip address 192.168.2.2 24 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 enabl

21、eDeviceA-gigabitethernet-1/0/1 quitDeviceA interface 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检测方式)  3. 配置思路l 

22、;  Device A处于局域网的汇聚层,为了将汇聚层的转发能力提高一倍,需要另外增加一台设备Device B。l   鉴于第二代智能弹性架构IRF技术具有管理简便、网络扩展能力强、可靠性高等优点,所以本例使用IRF技术构建网络接入层(即在Device A和Device B上配置IRF功能),IRF通过双链路上行。l   为了防止万一IRF链路故障导致IRF分裂、网络中存在两个配置冲突的IRF,需要启用MAD检测功能。因为成员设备比较少,我们采用ARP MAD检测方式来监测IRF的状态,复用链路上行传递ARP MA

23、D报文。为防止环路发生,在IRF和Device C上启用MSTP功能。4. 配置步骤为便于区分,下文配置中假设IRF形成前Device A的系统名称为DeviceA,Device B的系统名称为Device B;中间设备Device C的系统名称为DeviceC。 (1)      配置设备编号# Device A保留缺省编号为1,不需要进行配置。# 在Device B上将设备的成员编号修改为2。<DeviceB> system-viewDeviceB irf member 1 renumber 2Warning

24、: Renumbering the switch number may result in configuration change or loss. Continue? Y/N:yDeviceB(2)      将两台设备断电后,按图1-14所示连接IRF链路和ARP MAD检测链路,然后将两台设备上电。# 在Device A上创建设备的IRF端口2,与物理端口Ten-GigabitEthernet1/0/25绑定,并保存配置。<DeviceA> system-viewDeviceA interface ten-giga

25、bitethernet 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/25DeviceA-Ten-GigabitEthernet1/0/25 undo shutdownDeviceA-Ten-GigabitEthernet1/0/25 sa

26、ve# 在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 i

27、nterface 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-port-configuration active# 激活DeviceB的IRF端口配置。DeviceB-Ten-GigabitEthernet2/0/26 quitDeviceB irf-port-configuration active(3)      两台设备间将会进行Master竞选,竞选失

温馨提示

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

评论

0/150

提交评论