华三交换机IRF堆叠配置案例

组网需求

Device A为公司的核心设备,但由于公司网络规模日益增大,Device A单台设备的转发能力已无法达到公司网络的需求。为了拓展核心设备的转发能力,又尽量不改变现有网络。现公司希望增加Device B,与Device A组成IRF,来满足当前网络的需求。
两台成员设备的IRF典型配置组网如下图:
在这里插入图片描述

数据规划

在这里插入图片描述

配置步骤

1、IRF成员ID修改
DeviceA:
@堆叠ID缺省为1,无需配置
DeviceB:
@堆叠ID缺省为1,备设备修改为2

 irf member 1 renumber 2

2、将物理口加入IRF堆叠口1
@首先物理口shutdown

DeviceA:
interface ten-gigabitethernet 1/0/25
shutdown
#
interface ten-gigabitethernet 1/0/26
shutdown
#
DeviceB:
interface ten-gigabitethernet 1/0/25
shutdown
#
interface ten-gigabitethernet 1/0/26
shutdown

@物理口加入堆叠口

DeviceA:
irf-port 1/1
port group interface ten-gigabitethernet1/0/25
port group interface ten-gigabitethernet1/0/26

DevicebB:
irf-port 1/2
port group interface ten-gigabitethernet1/0/25
port group interface ten-gigabitethernet1/0/26

3、配置堆叠优先级
@配置成员设备优先级,主设备为20,备设备为10,以保证其成为IRF中的主设备

irf member 1 priority  20
irf member 1 priority  10

4、配置物理接口undo shutdown

DeviceA:
interface ten-gigabitethernet 1/0/25
undo shutdown
#
interface ten-gigabitethernet 1/0/26
undo shutdown
#
DeviceB:
interface ten-gigabitethernet 1/0/25
undo shutdown
#
interface ten-gigabitethernet 1/0/26
undo shutdown

5、保存配置

[DeviceA] save force
[DeviceB] save force

6、激活配置
@两台设备间将会进行Master竞选,竞选失败的一方将自动重启,重启完成后,IRF形成,系统名称统一为主设备的设备名

[DeviceA] irf-port-configuration active
[DeviceB] irf-port-configuration active

堆叠IRF验证

@查看当前两台设备IRF成功建立状态

<DeviceA> display irf
MemberID  Slot  Role    Priority  CPU-Mac         Description
 *+1      0     Master  10        0210-fc01-0000  ---
   2      0     Standby 20         0210-fc02-0000  ---
-------------------------------------------------
 * indicates the device is the master.
 + indicates the device through which the user logs in.
 The Bridge MAC of the IRF is: 3822-d60f-2800
 Auto upgrade                : yes
 Mac persistent              : always
 Domain ID                   : 0
 Auto merge                  : yes
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值