实验拓扑图
注意:
华三交换机堆叠业务口需要10G以上
接入加入IRF-port逻辑堆叠口之前需要shutdown关闭接口
逻辑堆叠口只有两个(x/1或者x/2)
实验步骤
SW1修改堆叠优先级
[SW1]irf member 1 priority 5 //修改优先级,默认华三默认为1
SW2修改堆叠编号
[SW2]irf member 1 renumber 2 //修改堆叠编号(2/0/1)
Renumbering the member ID may result in configuration change or loss. Continue?[Y/N]:y
SW1创建堆叠口
[SW1]interface Ten-GigabitEthernet 1/0/49 //进入接口
[SW1-Ten-GigabitEthernet1/0/49]shutdown //关闭接口
[SW1-Ten-GigabitEthernet1/0/49]quit //退出
[SW1]irf-port 1/1 //创建逻辑堆叠口
[SW1-irf-port1/1]port group interface Ten-GigabitEthernet 1/0/49 //将接口加入到逻辑接口中
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.
[SW1-irf-port1/1]quit //退出
[SW1]interface Ten-GigabitEthernet 1/0/49 //进入接口
[SW1-Ten-GigabitEthernet1/0/49]undo shutdown //开启端口
[SW1-Ten-GigabitEthernet1/0/49]quit //退出
[SW1]irf-port-configuration active //激活
SW2创建堆叠口
[SW2]int Ten-GigabitEthernet 2/0/49 //进入接口
[SW2-Ten-GigabitEthernet2/0/49]shutdown //关闭接口
[SW2-Ten-GigabitEthernet2/0/49]quit //退出
[SW2]irf-port 2/2
[SW2-irf-port2/2]port group interface Ten-GigabitEthernet 2/0/49 //将接口加入到逻辑接口中
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.
[SW2-irf-port2/2]quit //退出
[SW2]int Ten-GigabitEthernet 2/0/49 //进入接口
[SW2-Ten-GigabitEthernet2/0/49]undo shutdown //开启端口
[SW2-Ten-GigabitEthernet2/0/49]quit //退出
[SW2]irf-port-configuration active //激活
SW1查看堆叠成员
[SW1]dis irf //查看堆叠成员
MemberID Role Priority CPU-Mac Description
*+1 Master 5 acf7-17f7-0104 ---
2 Standby 1 acf7-2902-0204 ---
--------------------------------------------------
* indicates the device is the master.
+ indicates the device through which the user logs in.
The bridge MAC of the IRF is: acf7-17f7-0100
Auto upgrade : yes
Mac persistent : 6 min
Domain ID : 0
[SW1]
SW1查看堆叠拓扑结构
[SW1]dis irf topology //查看堆叠拓扑结构
Topology Info
-------------------------------------------------------------------------
IRF-Port1 IRF-Port2
MemberID Link neighbor Link neighbor Belong To
2 DIS --- UP 1 acf7-17f7-0104
1 UP 2 DIS --- acf7-17f7-0104
SW1查看堆叠用的逻辑接口
[SW1]dis irf link //查看堆叠用的逻辑接口
Member 1
IRF Port Interface Status
1 Ten-GigabitEthernet1/0/49 UP
2 disable --
Member 2
IRF Port Interface Status
1 disable --
2 Ten-GigabitEthernet2/0/49 UP