IRF华三堆叠实战

H3C交换机的irf配置

IRF(智能弹性架构),所谓的堆叠。H3C的IRF一般指的是第二代IRF。

IRF的优点:

1、降低网络复杂度

2、提高网络可靠性

3、提高网络运行效率

注意:

1、 IRF 物理端口必须工作在二层模式下,才能与 IRF 端口进行绑定。

2、与同一个 IRF 端口绑定的多个 IRF 物理端口必须工作在相同模式。

3、IRF 中成员设备间相连的 IRF 物理端口必须配置为同一种工作模式。

SWA和SWB连线如图:

IRF华三堆叠实战_第1张图片

SWA配置:
[SWA]irf member 1 priority 10     #设置优先级10,越大越优先成为主
[SWA]interface range Ten-GigabitEthernet 1/0/51 to Ten-GigabitEthernet 1/0/52
[SWA-if-range]shutdown     #关闭物理端口才可以和逻辑口绑定
[SWA-if-range]quit

[SWA]irf-port 1/1
[SWA-irf-port1/1]port group interface Ten-GigabitEthernet 1/0/51
You must perform the following tasks for a successful IRF setup:
Save the configuration after completing IRF configuration.
Execute the “irf-port-configuration active” command to activate the IRF ports.
[SWA-irf-port1/1]quit
[SWA]irf-port 1/2
[SWA-irf-port1/2]port group interface Ten-GigabitEthernet 1/0/52
You must perform the following tasks for a successful IRF setup:
Save the configuration after completing IRF configuration.
Execute the “irf-port-configuration active” command to activate the IRF ports.
[SWA-irf-port1/2]quit

[SWA]interface range Ten-GigabitEthernet 1/0/51 to Ten-GigabitEthernet 1/0/52
[SWA-if-range]undo shutdown
[SWA]irf-port-configuration active     #激活IRF配置参数
[SWA]save     #保存,使得下次重启配置生效

SWB配置:

[SWB]irf member 1 priority 5
[SWB]irf member 1 renumber 2     #修改成员ID
[SWB]save
reboot     #需要重启一次
Start to check configuration with next startup configuration file, please wait…DONE!
This command will reboot the device. Continue? [Y/N]:y

[SWB]interface range Ten-GigabitEthernet 2/0/51 to Ten-GigabitEthernet 2/0/52
[SWB-if-range]shutdown
[SWB-if-range]quit

[SWB]irf-port 2/1
[SWB-irf-port2/1]port group interface Ten-GigabitEthernet 2/0/51
You must perform the following tasks for a successful IRF setup:
Save the configuration after completing IRF configuration.
Execute the “irf-port-configuration active” command to activate the IRF ports.
[SWB-irf-port2/1]quit
[SWB]irf-port 2/2
[SWB-irf-port2/2]port group interface Ten-GigabitEthernet 2/0/52
You must perform the following tasks for a successful IRF setup:
Save the configuration after completing IRF configuration.
Execute the “irf-port-configuration active” command to activate the IRF ports.
[SWB-irf-port2/2]quit

[SWB]interface range Ten-GigabitEthernet 2/0/51 to Ten-GigabitEthernet 2/0/52
[SWB-if-range]undo shutdown
[SWB-if-range]quit

[SWB]irf-port-configuration active
save

然后将万兆光纤线缆如上图51和51口交叉互联,等待8分钟备机自动重启后就完成了IRF。

[SWA]display irf
MemberID Role Priority CPU-Mac Description
*+1 Master 10 6e2b-a938-0104 —
2 Standby 5 6e2b-ac96-0204 —
--------------------------------------------------
* indicates the device is the master.
+ indicates the device through which the user logs in.

The bridge MAC of the IRF is: 6e2b-a938-0100
Auto upgrade : yes
Mac persistent : 6 min
Domain ID : 0

 

你可能感兴趣的:(IRF华三堆叠实战)