组网需求
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