交換機接口
A交換機上有四個堆疊口,1 2 3 4
B交換機上有四個堆疊口,1 2 3 4
光口可以用於堆疊口,電口也可以用於堆疊口,支持度要看具體的交換機型號官方說明
雙邏輯堆疊口環路堆疊
1、只使用兩根堆疊線
使用2根堆疊線的時候,每一個邏輯堆疊口包含1個物理接口
物理連線A1—B4
物理連線A2—B3
連接示意圖如下:

配置命令如下:
A交換機:
<HUAWEI>sys [HUAWEI]dis stack conf * : Invalid-configuration ---------------Configuration on slot 1 Begin--------------- stack enable stack slot 0 renumber 1 stack slot 1 priority 200 stack reserved-vlan 4093 stack timer mac-address switch-delay 10 interface stack-port 1/1 port interface XGigabitEthernet1/0/1 enable interface stack-port 1/2 port interface XGigabitEthernet1/0/2 enable ---------------Configuration on slot 1 End-----------------
B交換機:
<HUAWEI>sys [HUAWEI]dis stack conf * : Invalid-configuration ---------------Configuration on slot 0 Begin--------------- stack enable stack slot 0 renumber 0 stack slot 0 priority 100 stack reserved-vlan 4093 stack timer mac-address switch-delay 10 interface stack-port 0/1 port interface XGigabitEthernet0/0/3 enable interface stack-port 0/2 port interface XGigabitEthernet0/0/4 enable ---------------Configuration on slot 0 End-----------------
2、使用4根堆疊線
使用4根堆疊線的時候,每一個邏輯堆疊口包含2個物理接口
物理連線A1—B3
物理連線A2—B4
物理連線A3—B1
物理連線A4—B2
連接示意圖如下:

配置命令如下:
交換機A:
<HUAWEI>sys [HUAWEI]dis stack conf * : Invalid-configuration ---------------Configuration on slot 0 Begin--------------- stack enable stack slot 0 renumber 0 stack slot 0 priority 200 stack reserved-vlan 4093 stack timer mac-address switch-delay 10 interface stack-port 0/1 port interface 40GE0/0/1 enable port interface 40GE0/0/2 enable interface stack-port 0/2 port interface 40GE0/0/3 enable port interface 40GE0/0/4 enable ---------------Configuration on slot 0 End-----------------
交換機B:
<HUAWEI>sys [HUAWEI]dis stack conf * : Invalid-configuration ---------------Configuration on slot 1 Begin--------------- stack enable stack slot 0 renumber 1 stack slot 0 priority 100 stack reserved-vlan 4093 stack timer mac-address switch-delay 10 interface stack-port 1/1 port interface 40GE1/0/1 enable port interface 40GE1/0/2 enable interface stack-port 1/2 port interface 40GE1/0/3 enable port interface 40GE1/0/4 enable ---------------Configuration on slot 1 End-----------------
-----------------------------------
©著作權歸作者所有:來自51CTO博客作者catoop的原創作品,請聯系作者獲取轉載授權,否則將追究法律責任
兩台華為交換機堆疊配置
https://blog.51cto.com/u_1472521/3713098
