当前位置:首页 > 网络 > H3C V7 IRF堆叠配置

H3C V7 IRF堆叠配置

网络2年前 (2021-01-25)

H3C V7 IRF堆叠配置

IRF是华三的堆叠技术,全称为Intelligent Resilient Framework),可以将多台设备通过IRF物理端口连接在一起,进行配置后虚拟化成一台分布式设备

IRF分为四阶段:物理连接、设备间通过IRF端口进行信息收集、选举主备关系、IRF自行维护,选举规则为IRF的优先级进行选举,Priority值大的则为MASTER,值小的为SLAVE


H3C V7 IRF堆叠配置

模拟场景为由于公司办公人员激增,H3C接入层交换机提供的端口数目已经不能满足PC的接入需求,需要在现有H3C设备的基础上扩展端口接入数量,并要求网络易管理、易维护


配置思路

SW1提供的接入端口数目已经不能满足网络需求,需要另外增加三台设备SW2、SW3和SW4

使用IRF技术具有管理简便、网络扩展能力强、可靠性高等优点,所以使用IRF技术构建接入层(即在四台设备上配置IRF功能)

为了防止IRF链路故障导致IRF分裂,网络中存在两个配置冲突的IRF,需要启用MAD检测功能。因为网络中有一台中间设备SW5支持LACP协议,因此可采用LACP MAD检测

为提高IRF链路的性能和可靠性,在成员设备间使用聚合IRF链路方式进行连接


SW1

system-view
interface range name IRF interface ten 1/0/49 to ten 1/0/52
shutdown
quit

#配置连接SW2的IRF端口1/1
irf-port 1/1
port group interface ten 1/0/51
port group interface ten 1/0/52
quit

#配置连接SW3的IRF端口1/2
irf-port 1/2
port group interface ten 1/0/49
port group interface ten 1/0/50
quit

#SW1开启接口激活IRF端口
interface range name IRF
undo shutdown
quit
save force
irf-port-configuration active


SW2

#配置设备成员编号,修改为2,默认下是1,因为1已经被sw1占用了
system-view
irf member 1 renumber 2
save force
quit
reboot

#重启后接口的板卡号由1变成2
system-view
interface range name IRF interface ten 2/0/49 to ten 2/0/52
shutdown
quit

#配置连接SW1的IRF端口2/1
irf-port 2/1
port group interface ten 2/0/49
port group interface ten 2/0/50

#配置连接SW4的IRF端口2/2
irf-port 2/2
port group interface ten 2/0/51
port group interface ten 2/0/52

#SW2开启接口激活IRF端口
interface range name IRF
undo shutdown
quit
save force
irf-port-configuration active
#此时SW1和SW2间将会进行Master竞选,竞选失败的一方将重启,重启完成后,IRF形成

H3C V7 IRF堆叠配置


SW3

#配置设备成员编号为3
system-view
irf member 1 renumber 3
save force
quit
reboot

#重启后接口的板卡号由1变成3
system-view
interface range name IRF interface ten 3/0/49 to ten 3/0/52
shutdown
quit

#配置连接SW1的IRF端口3/1
irf-port 3/1
port group interface ten 3/0/51
port group interface ten 3/0/52

#配置连接SW4的IRF端口3/2
irf-port 3/2
port group interface ten 3/0/49
port group interface ten 3/0/50

#SW3开启接口激活IRF端口
interface range name IRF
undo shutdown
quit
save force
irf-port-configuration active
#此时SW3将自动重启,加入SW1和SW2已经形成的IRF


SW4

#配置设备成员编号为4
system-view
irf member 1 renumber 4
save force
quit
reboot

#重启后接口的板卡号由1变成4
system-view
interface range name IRF interface ten 4/0/49 to ten 4/0/52
shutdown
quit

#配置连接SW2的IRF端口4/1
irf-port 4/1
port group interface ten 4/0/49
port group interface ten 4/0/50

#配置连接SW3的IRF端口4/2
irf-port 4/2
port group interface ten 4/0/51
port group interface ten 4/0/52

#SW4开启接口激活IRF端口
interface range name IRF
undo shutdown
quit
save force
irf-port-configuration active
#此时SW4将自动重启,加入SW1、SW2、SW3已经形成的IRF


查看IRF合并情况

dis irf configuration

H3C V7 IRF堆叠配置


查看共享一个板载MAC地址

dis irf topology

H3C V7 IRF堆叠配置


查看主备关系

dis irf

H3C V7 IRF堆叠配置


配置LACP MAD检测

#SW1设置IRF域编号为1
system-view
irf domain 1

#创建一个动态聚合接口并使能LACP MAD检测功能
interface bridge-aggregation 2
link-aggregation mode dynamic
mad enable
1
quit

interface g1/0/1 
port link-aggregation group 2
interface g2/0/1 
port link-aggregation group 2
interface g3/0/1 
port link-aggregation group 2
interface g4/0/1
port link-aggregation group 2
quit

H3C V7 IRF堆叠配置


#SW4配置中间设备帮助LACP MAD检测
system-view
interface bridge-aggregation 2
link-aggregation mode dynamic
quit

interface g1/0/1 
port link-aggregation group 2
interface g1/0/2 
port link-aggregation group 2
interface g1/0/3 
port link-aggregation group 2
interface g1/0/4
port link-aggregation group 2
quit


本站所有文章均可随意转载,转载时请保留原文链接及作者。

本文链接:https://www.vos.cn/net/482.html

相关文章

SANGFOR AF-1520 NAT

SANGFOR AF-1520 NAT

深信服AF-1520默认的配置向导非常难用,推荐手动设置,拓扑为eth0为管理口,上联口eth1,下联2个路由器,分别为eth2和eth3eth1 DHCPeth2 172.16.1.1 下联172....

H3C MER5200配置NAT

H3C MER5200配置NAT

拓扑为 WAN光猫--MER5200--S5100划分两个网段H3C MER5200# vlan 1 # vlan 30 # interface Vlan-in...

H3C ERG2-1350W桥接设置

H3C ERG2-1350W桥接设置

实现H3C ERG2-1350W桥接入已有局域网中,实现DHCP透传,不需要再次NAT外网线插入LAN1,禁用WAN口配置LAN口地址DHCP设置禁用VLAN1和VLAN24902.4GHZ和5GHZ...

H3C ER3260G2 L2TP VPN

H3C ER3260G2 L2TP VPN

H3C ER3250G2配置L2TP VPN作为服务端,使用爱快和win10作为客户端进行连接VPN服务端登陆系统管理,VPN--L2TP--L2TP服务端,启用LNS,配置地址池,点击应用LNS用户...

H3C SN3360B SAN交换机配置

H3C SN3360B SAN交换机配置

7台H3C服务器FC接口分别接入两台SN3360B中,划分7个zone交换机查看信息switchshow swd77:admin> switchshow switchNam...