拓扑
案例简介
本案例为3台H3C S5130做堆叠,不配置MAD检测。
配置步骤
SW-1
#1.IRF相关配置
#
irf domain 15
irf mac-address persistent timer
irf auto-update enable
undo irf link-delay
irf member 1 priority 30
irf member 1 description SW-1
#
#2.关闭IRF接口,为后续配置IRF端口做准备
#
interface range Ten-GigabitEthernet 1/0/51 to Ten-GigabitEthernet 1/0/52
shut
quit
#
#3.配置IRF端口
#
irf-port 1/1
port group interface Ten-GigabitEthernet 1/0/51
quit
irf-port 1/2
port group interface Ten-GigabitEthernet 1/0/52
quit
#
#4.开启IRF物理接口
#
interface range Ten-GigabitEthernet 1/0/51 to Ten-GigabitEthernet 1/0/52
undo shut
quit
#
#5.保存配置
save
#6.激活IRF端口配置
irf-port-configuration active
SW-2
#1.将SW-2成员编号设置成2
#
sys
irf member 1 renumber 2
quit
reboot
#
#2.IRF相关配置
#
irf domain 15
irf mac-address persistent timer
irf auto-update enable
undo irf link-delay
irf member 2 priority 25
irf member 2 description SW-2
#
#3.关闭IRF接口,为后续配置IRF端口做准备
#
interface range Ten-GigabitEthernet 2/0/51 to Ten-GigabitEthernet 2/0/52
shut
quit
#
#4.配置IRF端口
#
irf-port 2/1
port group interface Ten-GigabitEthernet 2/0/51
quit
irf-port 2/2
port group interface Ten-GigabitEthernet 2/0/52
quit
#
#5.开启IRF物理接口
#
interface range Ten-GigabitEthernet 2/0/51 to Ten-GigabitEthernet 2/0/52
undo shut
quit
#
#6.保存配置
save
#7.激活IRF端口配置
irf-port-configuration active
sw-3
#1.将SW-3成员编号设置成3
#
sys
irf member 1 renumber 3
quit
reboot
#
#2.IRF相关配置
#
irf domain 15
irf mac-address persistent timer
irf auto-update enable
undo irf link-delay
irf member 3 priority 20
irf member 3 description SW-3
#
#3.关闭IRF接口,为后续配置IRF端口做准备
#
interface range Ten-GigabitEthernet 3/0/51 to Ten-GigabitEthernet 3/0/52
shut
quit
#
#4.配置IRF端口
#
irf-port 3/1
port group interface Ten-GigabitEthernet 3/0/51
quit
irf-port 3/2
port group interface Ten-GigabitEthernet 3/0/52
quit
#
#5.开启IRF物理接口
#
interface range Ten-GigabitEthernet 3/0/51 to Ten-GigabitEthernet 3/0/52
undo shut
quit
#
#6.保存配置
save
#7.激活IRF端口配置
irf-port-configuration active