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

下载本文档

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

文档简介

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

2、靠 性高等优点,所以本例使用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)配置设备编号# Device A保留缺省编号为1,不需要进行配置#在Device B上将设备的成员编号修改为2。 syst

3、em-viewDeviceB irf member 1 renu mber 2Warning: Renu mberi ng the switch nu mber may result incon figurati on cha nge or loss. Con ti nue Y/N:yDeviceB(2) 将两台设备断电后,按所示连接IRF链路,然后将两台设备上电。#在Device A上创建设备的IRF端口 2,与物理端口 Ten-GigabitEthernet1/0/25 绑定,并保存配置。 system-viewDeviceA in terface ten-gigabitether net

4、 1/0/25DeviceA-Te n-GigabitEthernet1/0/25 shutdow nDeviceA irf-port 1/2DeviceA-irf-port 1/2 port group in terface ten-gigabitethernet 1/0/25DeviceA-irf-port 1/2 quitDeviceA in terface ten-gigabitether net 1/0/25DeviceA-Te n-GigabitEthernet1/0/25 undo shutdow nDeviceA-Te n-GigabitEthernet1/0/25 save#

5、 在 Device B 上创建设备的IRF 端口 1,与物理端口 Ten-GigabitEthernet2/0/26 绑定,并保存配置。 system-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 terface ten-gigabitethernet 2/0/26DeviceB-irf-port 2/1 quitDeviceB in terfac

6、e ten-gigabitethernet 2/0/26DeviceB-Te n-GigabitEthernet2/0/26 undo shutdow nDeviceB-Te n-GigabitEthernet2/0/26 save#激活DeviceA 的IRF端口配置。DeviceA-Te n-GigabitEthernet1/0/25 quitDeviceA irf-port-configuration active#激活DeviceB的IRF端口配置。DeviceB-Te n-GigabitEthernet2/0/26 quitDeviceB irf-port-configuration

7、 active(3) 两台设备间会进行 Master竞选,竞选失败的一方将自动重启,重启完成后,IRF形成,系统名称统一为DeviceA。配置LACP MAD检测#创建一个动态聚合端口,并使能LACP MAD检测功能。 system-viewDeviceA in terface bridge-aggregati on 2DeviceA-Bridge-Aggregatio n2 li nk-aggregati on mode dyn amicDeviceA-Bridge-Aggregatio n2 mad en ableDeviceA-Bridge-Aggregation2 quit# 在聚合接

8、口中添加成员端口GigabitEthernet1/0/1 和 GigabitEthernet2/0/1 ,专用于两台IRF成员设备与中间设备进行LACP MAD检测。DeviceA in terface gigabitether net 1/0/1DeviceA-GigabitEthernet1/0/1 port lin k-aggregati on group2DeviceA-GigabitEthernet1/0/1 quitDeviceA in terface gigabitethernet 2/0/1DeviceA-GigabitEthernet2/0/1 port lin k-aggr

9、egati on group2中间设备Device C的配置Device C作为一台中间设备需要支持LACP功能,用来转发、处理LACP协议报文,协助Device A和Device B进行多Active检测。从节约成本的角度考虑,使用一台支持LACP功能的交换机即可。#创建一个动态聚合端口。 system-viewDeviceC in terface bridge-aggregati on 2DeviceC-Bridge-Aggregati on 2 li nk-aggregati on mode dyn amicDeviceC-Bridge-Aggregation2 quit#在聚合端口中添

10、加成员端口GigabitEthernet1/0/1 和 GigabitEthernet1/0/2 ,用于进行LACP MAD检测。DeviceC in terface gigabitethernet 1/0/1DeviceC-GigabitEthernet1/0/1 port link-aggregation group 2DeviceC-GigabitEthernet1/0/1 quitDeviceC in terface gigabitethernet 1/0/2DeviceC-GigabitEthernet1/0/2 port link-aggregation group2#按所示连接L

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

12、B上配置IRF功能),接入层设备通过聚合双链路上行。为了防止万一 IRF链路故障导致IRF分裂、网络中存在两个配置冲突的 IRF,需要启用MAD检测功能。因为成员设备比较少,我们采用BFDMAD检测方式来监测IRF的状态4.配置步骤为便于区分,下文配置中假设IRF形成前Device A的系统名称为DeviceADevice B的系统名称为 Device B。(1) 配置设备编号# Device A保留缺省编号为1,不需要进行配置。#在Device B上将设备的成员编号修改为2。 system-viewDeviceB irf member 1 renu mber 2Warning: Renu m

13、beri ng the switch nu mber may result in con figurati on cha nge or loss. Con ti nue Y/N:yDeviceB(2) 将两台设备断电后,按所示连接IRF链路,然后将两台设备上电。#在Device A上创建设备的IRF端口 2,与物理端口GigabitEthernet1/0/25 绑定,并保存配置。 system-viewDeviceA in terface ten-gigabitether net 1/0/25DeviceA-Te n-GigabitEthernet1/0/25 shutdow nDeviceA

14、 irf-port 1/2DeviceA-irf-port 1/2 port group in terface ten-gigabitethernet 1/0/25DeviceA-irf-port 1/2 quitDeviceA in terface ten-gigabitether net 1/0/25DeviceA-Te n-GigabitEthernet1/0/25 undo shutdow nDeviceA-Te n-GigabitEthernet1/0/25 save#在 Device B上创建设备的IRF 端口 1,与物理端口GigabitEthernet2/0/26 绑定,并保存

15、配置。 system-viewDeviceB in terface ten-gigabitethernet 2/0/26DeviceB-Te n-GigabitEthernet2/0/26 shutdow nTen-Ten-DeviceB irf-port 2/1DeviceB-irf-port 2/1 port group in terface ten-gigabitethernet 2/0/26DeviceB-irf-port 2/1 quitDeviceB in terface ten-gigabitethernet 2/0/26DeviceB-Te n-GigabitEthernet2

16、/0/26 undo shutdow nDeviceB-Te n-GigabitEthernet2/0/26 save#激活DeviceA 的IRF端口配置。DeviceA-Te n-GigabitEthernet1/0/25 quitDeviceA irf-port-configuration active#激活DeviceB的IRF端口配置。DeviceB-Te n-GigabitEthernet2/0/26 quitDeviceB irf-port-configuration active两台设备间将会进行 Master竞选,竞选失败的一方将自动重启,重启完成后,IRF形成,系统名称统一

17、为 DeviceA。配置BFD MAD检测# 创建 VLAN 3,并将 Device A 上的端口 GigabitEthernet1/0/1和 Device B上的端口 GigabitEthernet2/0/1加入 VLAN 中。 system-viewDeviceA vlan 3DeviceA-vlan3 port gigabitethernet 1/0/1 gigabitethernet2/0/1DeviceA-vla n3 quit#创建VLAN接口 3,并配置 MAD IP地址。DeviceA in terface vla n-i nterface 3DeviceA-Vla n-in

18、terface3 mad bfd en ableDeviceA-Vla n-in terface3 mad ipmember 1DeviceA-Vla n-in terface3 mad ipmember 2 DeviceA-Vla n-i nterface3 quit#按所示连接BFD MAD链路。#因为 BFD MAD 和生成树功能互斥,所以在 GigabitEthernet1/0/1 和GigabitEtherne t2/0/1上关闭生成树协议。IRF典型配置举例(ARP MAD检测方式)1. 组网需求由于网络规模迅速扩大,当前中心交换机(Device A )转发能力已经不能满足需求,现

19、需要在保护现有投资的基础上将网络转发能力提高一倍,并要求 网络易管理、易维护。2. 组网图图1-15 IRF典型配置组网图(ARP MAD 检测方式)3. 配置思路Device A处于局域网的汇聚层,为了将汇聚层的转发能力提高一倍,需要 另外增加一台设备 Device B。鉴于第二代智能弹性架构IRF技术具有管理简便、网络扩展能力强、可靠 性高等优点,所以本例使用IRF技术构建网络接入层(即在 Device A 和Device B上配置IRF功能),IRF通过双链路上行。为了防止万一 IRF链路故障导致IRF分裂、网络中存在两个配置冲突的 IRF,需要启用MAD检测功能。因为成员设备比较少,我

20、们采用ARPMAD检测方式来监测IRF的状态,复用链路上行传递 ARP MAD报 文。为防止环路发生,在IRF和Device C上启用MSTP功能。4.配置步骤为便于区分,下文配置中假设IRF形成前Device A的系统名称为DeviceA ,Device B的系统名称为 Device B ;中间设备 Device C的系统名称为 DeviceC。(1)配置设备编号# Device A保留缺省编号为1,不需要进行配置。#在Device B上将设备的成员编号修改为2。 system-viewDeviceB irf member 1 renu mber 2Warning: Renu mberi n

21、g the switch nu mber may result incon figurati on cha nge or loss. Con ti nue Y/N:yDeviceB将两台设备断电后,按所示连接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 nD

22、eviceA irf-port 1/2DeviceA-irf-port 1/2 port group in terface ten-gigabitethernet 1/0/25DeviceA-irf-port 1/2 quitDeviceA in terface ten-gigabitether net 1/0/25DeviceA-Te n-GigabitEthernet1/0/25 undo shutdow nDeviceA-Te n-GigabitEthernet1/0/25 save# 在 Device B 上创建设备的IRF 端口 1,与物理端口 Ten-GigabitEthernet

23、2/0/26 绑定,并保存配置。 system-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 terface ten-gigabitethernet 2/0/26DeviceB-irf-port 2/1 quitDeviceB in terface ten-gigabitethernet 2/0/26DeviceB-Te n-GigabitEthernet2/0/26 undo shutdow nDeviceB-Te n-GigabitEthernet2/0/26 save#激活DeviceA 的IRF端口配置。DeviceA-Te n-GigabitEthernet1/0/25 quitDeviceA irf-port-configuration active#激活DeviceB的IRF端口配置。DeviceB-Te n-GigabitEthernet2/0/26 quitDeviceB irf-port-configuration act

温馨提示

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

最新文档

评论

0/150

提交评论