IRF华三堆叠实战

H3C交换机的irf配置

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

IRF的优点:

1、降低网络复杂度

2、提高网络可靠性

3、提高网络运行效率

注意:

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

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

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

SWA和SWB连线如图:

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
<SWB>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
<SWB>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

 

  • 1
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值