欢迎来到三一办公! | 帮助中心 三一办公31ppt.com(应用文档模板下载平台)
三一办公
全部分类
  • 办公文档>
  • PPT模板>
  • 建筑/施工/环境>
  • 毕业设计>
  • 工程图纸>
  • 教育教学>
  • 素材源码>
  • 生活休闲>
  • 临时分类>
  • ImageVerifierCode 换一换
    首页 三一办公 > 资源分类 > DOCX文档下载  

    H3C IRF配置典型案例.docx

    • 资源ID:3157769       资源大小:41.01KB        全文页数:19页
    • 资源格式: DOCX        下载积分:6.99金币
    快捷下载 游客一键下载
    会员登录下载
    三方登录下载: 微信开放平台登录 QQ登录  
    下载资源需要6.99金币
    邮箱/手机:
    温馨提示:
    用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)
    支付方式: 支付宝    微信支付   
    验证码:   换一换

    加入VIP免费专享
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    H3C IRF配置典型案例.docx

    H3C IRF配置典型案例H3C IRF配置典型案例 l l l l l l l l l l l l 1. 进入系统模式 切换IRF模式 配置成员编号 配置成员优先级 配置IRF端口 使能BFD MAD检测 使能LACP MAD检测 配置保留端口 手动恢复处于Recovery 状态的设备 重定向到指定的Slave 设备 IRF 显示和维护 配置举例 进入系统模式 2. 切换IRF模式 3. 配置成员编号 注:配置完成员编号后需要重启该设备。 4. 配置成员优先级 IRF2配置前应该将接口手工SHUT;12500系统默认都是SHUT的,95E以下必须手工SHUT 5. 配置IRF端口 1 / 16 IRF2端口配置后应该将接口手工undo shutdown;然后关闭电源,连接IRF线缆,重启,IRF形成。 6. 使能BFD MAD检测 注:此项与弟7项LACP MAD检测只能二选一,一般情况下使用BFD MAD检测。 7. 使能LACP MAD检测 2 / 16 8. 配置保留端口 9. 手动恢复处于Recovery 状态的设备 注:缺省状态下设备会自动恢复,只有Master设备产生故障且无法自动恢复时才进行手动恢复,正常配置中无须配置此项。 10. 重定向到指定的Slave 设备 注:此命令用于配置备用主控板,如: “<系统名-Slave#成员编号/槽位号>”,例如“<Sysname-Slave#1/0>”,正常配置中无须配置此项。 11. IRF 显示和维护 3 / 16 12. 配置举例 一IRF典型配置举例 1. 组网需求 由于网络规模迅速扩大,当前中心交换机转发能力已经不能满足需求,现需要在保护现有投资的基础上将网络转发能力提高一倍,并要求网络易管理、易维护。 2. 组网图 图1-1 IRF典型配置组网图 IRFDevice AXGE1/3/0/1GE1/4/0/1Device B堆叠线缆此链路用于BFD检测XGE2/3/0/1GE2/4/0/13. 配置思路 为了减少IRF形成过程中系统重启的次数,可以在独立运行模式下预配置IRF端口、成员编号、以及成员优先级,配置保存后切换运行模式到IRF模式,可直接与其它设备形成IRF。 4. 配置步骤 (1) 请按组网图所示完成Device A和Device B之间的物理连接,分别上电,分别配置。 # 在Device A上的配置。 4 / 16 登录设备后配置IRF成员编号为1,成员优先级为12,创建IRF端口2,并将它与物理端口Ten-GigabitEthernet3/0/1绑定。 <Sysname> system-view Sysname irf member 1 Sysname irf priority 12 Sysname irf-port 1/2 Sysname-irf-port 2 port group interface ten-gigabitethernet 3/0/1 Sysname-irf-port 2 quit l 将当前配置保存到下次启动配置文件。 Sysname quit <Sysname> save l 将设备的运行模式切换到IRF模式。3069 <Sysname> system-view Sysname chassis convert mode irf The device will switch to IRF mode and reboot. You are recommended to save the current running configuration and specify the configuration file for the next startup. Continue? Y/N:y Do you want to convert the content of the next startup configuration file flash:/startup.cfg to make it available in IRF mode? Y/N:y Please wait. Saving the converted configuration file to the main board succeeded. Slot 1: Saving the converted configuration file succeeded. Now rebooting, please wait. 设备重启后运行在IRF模式。 # 在Device B上的配置。 登录设备后配置IRF成员编号为2,成员优先级为26,创建IRF端口1,并将它与物理端口Ten-GigabitEthernet3/0/1绑定。 <Sysname> system-view Sysname irf member 2 Sysname irf priority 26 Sysname irf-port 2/1 Sysname-irf-port 1 port group interface ten-gigabitethernet 3/0/1 Sysname-irf-port 1 quit l 将当前配置保存到下次启动配置文件。 Sysname quit <Sysname> save l 将设备的运行模式切换到IRF模式。 <Sysname> system-view Sysname chassis convert mode irf The device will switch to IRF mode and reboot. You are recommended to save the current running configuration and specify the configuration file for the next startup. Continue? Y/N:y 5 / 16 Do you want to convert the content of the next startup configuration file flash:/startup.cfg to make it available in IRF mode? Y/N:y Please wait. Saving the converted configuration file to the main board succeeded. Slot 1: Saving the converted configuration file succeeded. Now rebooting, please wait. 设备B重启后与设备A形成IRF。 (2) 配置BFD MAD检测 # 创建VLAN 3,并将Device A上的端口4/0/1和Device B上的端口4/0/1加入VLAN中。 <Sysname> system-view Sysname vlan 3 Sysname-vlan3 port gigabitethernet 1/4/0/1 gigabitethernet 2/4/0/1 Sysname-vlan3 quit # 创建VLAN接口3,并配置MAD IP地址。 Sysname interface vlan-interface 3 Sysname-Vlan-interface3 mad bfd enable Sysname-Vlan-interface3 mad ip add 192.168.2.1 24 member 1 Sysname-Vlan-interface3 mad ip add 192.168.2.2 24 member 2 Sysname-Vlan-interface3 quit 二IRF典型配置举例 1. 组网需求 由于公司人员激增,接入层交换机提供的端口数目已经不能满足PC的接入需求。现需要在保护现有投资的基础上扩展端口接入数量,并要求网络易管理、易维护。 2. 组网图 图1-8 IRF典型配置组网图 6 / 16 配置思路 l Device A提供的接入端口数目已经不能满足网络需求,需要另外增加一台设备Device B。 IRF技术具有管理简便、网络扩展能力强、可靠性高等优点,l 鉴于第二代智能弹性架构所以本例使用IRF技术构建接入层。 l 为了防止万一IRF链路故障导致IRF分裂、网络中存在两个配置冲突的IRF,需要启用MAD检测功能。因为设备的下行没有聚合组网,这里采用BFD MAD检测。 3. 配置步骤 (1) 在Device A和Device B间不连IRF线缆,分别上电,分别配置。 # 在Device A上的配置。 <Sysname> system-view Sysname chassis convert mode irf This command will convert the device to IRF mode and the device will reboot. Are you sure? Y/N: y 设备自动重启来完成模式的切换。重新登录设备后创建设备的IRF-port1/2端口,并将它与物理端口Ten-GigabitEthernet1/3/0/25绑定,完成后保存配置。 <Sysname> system-view Sysname interface ten-gigabitethernet 1/3/0/25 7 / 16 Sysname-Ten-GigabitEthernet1/3/0/25 shutdown Sysname-Ten-GigabitEthernet1/3/0/25 quit Sysname irf-port 1/2 Sysname-irf-port 1/2 port group interface ten-gigabitethernet 1/3/0/25 Sysname-irf-port 1/2 quit Sysname interface ten-gigabitethernet 1/3/0/25 Sysname-Ten-GigabitEthernet1/3/0/25 undo shutdown Sysname-Ten-GigabitEthernet1/3/0/25 save # 在Device B上的配置。 <Sysname> system-view Sysname chassis convert mode irf This command will convert the device to IRF mode and the device will reboot. Are you sure? Y/N: y 设备自动重启来完成模式的切换,重新登录设备后将设备的成员编号修改为2。 <Sysname> system-view Sysname irf member 1 renumber 2 Warning: Renumbering the switch number may result in configuration change or loss. Continue? Y/N:y Sysname quit <Sysname> reboot 设备重启使新的成员编号生效,重新登录设备后创建设备的IRF-port2/1口,并将它与物理端口Ten-GigabitEthernet2/3/0/25绑定,完成后保存配置。 <Sysname> system-view Sysname interface ten-gigabitethernet 2/3/0/25 Sysname-Ten-GigabitEthernet2/3/0/25 shutdown 8 / 16 Sysname-Ten-GigabitEthernet2/3/0/25 quit Sysname irf-port 2/1 Sysname-irf-port 2/1 port group interface ten-gigabitethernet 2/3/0/25 Sysname-irf-port 2/1 quit Sysname interface ten-gigabitethernet 2/3/0/25 Sysname-Ten-GigabitEthernet2/3/0/25 undo shutdown Sysname-Ten-GigabitEthernet2/3/0/25 save (2) 关闭设备电源,将两台设备按照组网图连接IRF线缆,然后全部上电,IRF形成。 (3) 配置BFD MAD检测 # 创建VLAN 3,并将Device A上的端口1/3/0/1和Device B上的端口2/3/0/1加入VLAN中。 <Sysname> system-view Sysname vlan 3 Sysname-vlan3 port gigabitethernet 1/3/0/1 gigabitethernet 2/3/0/1 Sysname-vlan3 quit # 创建VLAN接口3,并配置MAD IP地址。 Sysname interface vlan-interface 3 Sysname-Vlan-interface3 mad bfd enable Sysname-Vlan-interface3 mad ip add 192.168.2.1 24 chassis 1 Sysname-Vlan-interface3 mad ip add 192.168.2.2 24 chassis 2 Sysname-Vlan-interface3 quit 三IRF典型配置举例 1. 组网需求 由于公司人员激增,接入层交换机提供的端口数目已经不能满足PC的接入需求。现需要在 9 / 16 保护现有投资的基础上扩展端口接入数量,并要求网络易管理、易维护。 2. 组网图 图1-2 IRF典型配置组网图 IP networkGE4/0/1GE4/0/2GE1/4/0/2XGE1/3/0/1GE2/4/0/2XGE2/3/0/1Device AIRFDevice B说明:橙色实线表示IRF链路;紫色实线表示专用于LACP检测的链路;黑色实线表示普通以太网链路3. 配置思路 为了减少IRF形成过程中系统重启的次数,可以在独立运行模式下预配置IRF端口、成员编号、以及成员优先级,配置保存后切换运行模式到IRF模式,可直接与其它设备形成IRF。 4. 配置步骤 (1) 请按组网图所示完成Device A和Device B之间的物理连接,分别上电,分别配置。 # 在Device A上的配置。 登录设备后配置IRF成员编号为1,成员优先级为12,创建IRF端口2,并将它与物理端口Ten-GigabitEthernet3/0/1绑定。 <Sysname> system-view Sysname irf member 1 Sysname irf priority 12 Sysname irf-port 2 Sysname-irf-port 2 port group interface ten-gigabitethernet 3/0/1 Sysname-irf-port 2 quit l 将当前配置保存到下次启动配置文件。 Sysname quit <Sysname> save l 将设备的运行模式切换到IRF模式。 <Sysname> system-view Sysname chassis convert mode irf 10 / 16 The device will switch to IRF mode and reboot. You are recommended to save the current running configuration and specify the configuration file for the next startup. Continue? Y/N:y Do you want to convert the content of the next startup configuration file flash:/startup.cfg to make it available in IRF mode? Y/N:y Please wait. Saving the converted configuration file to the main board succeeded. Slot 1: Saving the converted configuration file succeeded. Now rebooting, please wait. 设备重启后运行在IRF模式。 # 在Device B上的配置。 登录设备后配置IRF模式下的成员编号为2,成员优先级为26,创建IRF端口1,并将它与物理端口Ten-GigabitEthernet3/0/1绑定。 <Sysname> system-view Sysname irf member 2 Sysname irf priority 26 Sysname irf-port 1 Sysname-irf-port 1 port group interface ten-gigabitethernet 3/0/1 Sysname-irf-port 1 quit l 将当前配置保存到下次启动配置文件。 Sysname quit <Sysname> save l 将设备的运行模式切换到IRF模式。 <Sysname> system-view Sysname chassis convert mode irf The device will switch to IRF mode and reboot. You are recommended to save the current running configuration and specify the configuration file for the next startup. Continue? Y/N:y Do you want to convert the content of the next startup configuration file flash:/startup.cfg to make it available in IRF mode? Y/N:y Please wait. Saving the converted configuration file to the main board succeeded. Slot 1: Saving the converted configuration file succeeded. Now rebooting, please wait. 设备B重启后与设备A形成IRF模式。 (2) 配置LACP MAD检测 # 创建一个动态聚合接口,并使能LACP MAD检测功能。 <Sysname> system-view Sysname interface bridge-aggregation 2 Sysname-Bridge-Aggregation2 link-aggregation mode dynamic Sysname-Bridge-Aggregation2 mad enable Sysname-Bridge-Aggregation2 quit 11 / 16 # 在聚合接口中添加成员端口1/4/0/2和2/4/0/2,专用于Device A和Device B实现LACP MAD检测。 Sysname interface gigabitethernet 1/4/0/2 Sysname-GigabitEthernet1/4/0/2 port link-aggregation group 2 Sysname-GigabitEthernet1/4/0/2 quit Sysname interface gigabitethernet 2/4/0/2 Sysname-GigabitEthernet2/4/0/2 port link-aggregation group 2 (3) 中间设备Device C的配置 Device C作为一台中间设备需要支持LACP功能,用来转发、处理LACP协议报文,协助Device A和Device B进行多Active检测。从节约成本的角度考虑,使用一台支持LACP功能的交换机即可。 # 创建一个动态聚合接口。 <Sysname> system-view Sysname interface bridge-aggregation 2 Sysname-Bridge-Aggregation2 link-aggregation mode dynamic Sysname-Bridge-Aggregation2 quit # 在聚合接口中添加成员端口GigabitEthernet4/0/1和GigabitEthernet4/0/2,用于帮助LACP MAD检测。 Sysname interface gigabitethernet 4/0/1 Sysname-GigabitEthernet4/0/1 port link-aggregation group 2 Sysname-GigabitEthernet4/0/1 quit Sysname interface gigabitethernet 4/0/2 Sysname-GigabitEthernet4/0/2 port link-aggregation group 2 四IRF典型配置举例 1. 组网需求 由于网络规模迅速扩大,当前中心交换机转发能力已经不能满足需求,现需要在保护现有投资的基础上将网络转发能力提高一倍,并要求网络易管理、易维护。 2. 组网图 图1-9 IRF典型配置组网图 12 / 16 3. 配置思路 l Device A处于局域网的汇聚层,为了将汇聚层的转发能力提高一倍,需要另外增加一台设备Device B。 l 鉴于第二代智能弹性架构IRF技术具有管理简便、网络扩展能力强、可靠性高等优点,所以本例使用IRF技术构建网络汇聚层,接入层设备通过聚合双链路上行。 l 为了防止万一IRF链路故障导致IRF分裂、网络中存在两个配置冲突的IRF,需要启用MAD检测功能。因为接入层设备采用了聚合方式上行,我们采用LACP MAD检测方式来监测IRF的状态。 4. 配置步骤 (1) 在Device A和Device B间不连IRF线缆,分别上电,分别配置 # 在Device A上的配置。 <Sysname> system-view Sysname chassis convert mode irf 13 / 16 This command will convert the device to IRF mode and the device will reboot. Are you sure? Y/N: y 设备自动重启来完成模式的切换。重新登录设备后创建设备的IRF-port2端口,并将它与物理端口Ten-GigabitEthernet1/3/0/25绑定,完成后保存配置。 <Sysname> system-view Sysname interface ten-gigabitethernet 1/3/0/25 Sysname-Ten-GigabitEthernet1/3/0/25 shutdown Sysname-Ten-GigabitEthernet1/3/0/25 quit Sysname irf-port 1/2 Sysname-irf-port 1/2 port group interface ten-gigabitethernet 1/3/0/25 Sysname-irf-port 1/2 quit Sysname interface ten-gigabitethernet 1/3/0/25 Sysname-Ten-GigabitEthernet1/3/0/25 undo shutdown Sysname-Ten-GigabitEthernet1/3/0/25 save # 在Device B上的配置。 <Sysname> system-view Sysname chassis convert mode irf This command will convert the device to IRF mode and the device will reboot. Are you sure? Y/N: y 设备自动重启来完成模式的切换,重新登录设备后将设备的成员编号修改为2。 <Sysname> system-view Sysname irf member 1 renumber 2 Warning: Renumbering the switch number may result in configuration change or loss. Continue? Y/N:y Sysname quit 14 / 16 <Sysname> reboot 设备重启使新的成员编号生效,重新登录设备后创建设备的IRF-port1口,并将它与物理端口Ten-GigabitEthernet2/3/0/25绑定,完成后保存配置。 <Sysname> system-view Sysname interface ten-gigabitethernet 2/3/0/25 Sysname-Ten-GigabitEthernet2/3/0/25 shutdown Sysname-Ten-GigabitEthernet2/3/0/25 quit Sysname irf-port 2/1 Sysname-irf-port 2/1 port group interface ten-gigabitethernet 2/3/0/25 Sysname-irf-port 2/1 quit Sysname interface ten-gigabitethernet 2/3/0/25 Sysname-Ten-GigabitEthernet2/3/0/25 undo shutdown Sysname-Ten-GigabitEthernet2/3/0/25 save (2) 关闭设备电源,将两台设备按照组网图连接IRF线缆,然后全部上电,IRF形成。 (3) 配置LACP MAD检测 # 创建一个动态聚合端口,并使能LACP MAD检测功能。 <Sysname> system-view Sysname interface bridge-aggregation 2 Sysname-Bridge-Aggregation2 link-aggregation mode dynamic Sysname-Bridge-Aggregation2 mad enable Sysname-Bridge-Aggregation2 quit # 在聚合端口中添加成员端口GigabitEthernet1/3/0/2和GigabitEthernet2/3/0/2,专用于Device A和Device B实现LACP MAD检测。 Sysname interface gigabitethernet 1/3/0/2 Sysname-GigabitEthernet1/3/0/2 port link-aggregation group 2 15 / 16 Sysname-GigabitEthernet1/3/0/2 quit Sysname interface gigabitethernet 2/3/0/2 Sysname-GigabitEthernet2/3/0/2 port link-aggregation group 2 (4) 中间设备的配置 # 创建一个动态聚合端口。 <Sysname> system-view Sysname interface bridge-aggregation 2 Sysname-Bridge-Aggregation2 link-aggregation mode dynamic Sysname-Bridge-Aggregation2 quit # 在聚合端口中添加成员端口GigabitEthernet3/0/1和GigabitEthernet3/0/2,用于帮助LACP MAD检测。 Sysname interface gigabitethernet 3/0/1 Sysname-GigabitEthernet3/0/1 port link-aggregation group 2 Sysname-GigabitEthernet3/0/1 quit Sysname interface gigabitethernet 3/0/2 Sysname-GigabitEthernet3/0/2 port link-aggregation group 2 16 / 16

    注意事项

    本文(H3C IRF配置典型案例.docx)为本站会员(牧羊曲112)主动上传,三一办公仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三一办公(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    备案号:宁ICP备20000045号-2

    经营许可证:宁B2-20210002

    宁公网安备 64010402000987号

    三一办公
    收起
    展开