两台华为交换机堆叠配置

交换机接口
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

posted on 2022-01-09 00:08  hftian  阅读(1399)  评论(0编辑  收藏  举报

导航