华为交换机S5735S如何堆叠iStack

Posted 玩电脑的辣条哥

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了华为交换机S5735S如何堆叠iStack相关的知识,希望对你有一定的参考价值。

环境:

交换机一:
华为S5735S-L24T4S-MA
Software Version V200R019C10SPC500

交换机二:
华为S5735S-L24T4S-A
Software Version V200R019C10SPC500

堆叠口:电口

问题描述:

华为交换机S5735S如何堆叠iStack

解决方案:

堆叠前前往华为网站查询是否支持
https://info.support.huawei.com/network/virtual/index?lang=zh

本案例堆叠口:电口

以太网电接口要求
Category 5及以上标准网线
1Gbit/s
用以太网电接口或100/1000BASE-X以太网光接口做堆叠口时,单设备最多支持2个逻辑堆叠口,每个逻辑堆叠口可以包含1个物理成员口,也可以包含多个物理成员口,最多包含8个物理成员口,单设备最大支持16个物理成员口。

1.查看交换机软件版本是否一致

交换机一:

<HUAWEI>dis ver
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (S5735 V200R019C10SPC500)
Copyright (C) 2000-2020 HUAWEI TECH Co., Ltd.
HUAWEI S5735S-L24T4S-MA Routing Switch uptime is 0 week, 0 day, 0 hour, 8 minutes

ES5D2T28S022 0(Master)  : uptime is 0 week, 0 day, 0 hour, 7 minutes
DDR             Memory Size : 1024  M bytes
FLASH Total     Memory Size : 512   M bytes
FLASH Available Memory Size : 306   M bytes
Pcb           Version   : VER.D
BootROM(1st)       Version   : 0000.0121
BootROM(2nd)       Version   : 0000.0200
BootLoad      Version   : 0213.0000
CPLD          Version   : 0107 
Software      Version   : VRP (R) Software, Version 5.170 (V200R019C10SPC500)
FLASH         Version   : 0000.0000

交换机二:

<HUAWEI>dis ver
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (S5735 V200R019C10SPC500)
Copyright (C) 2000-2020 HUAWEI TECH Co., Ltd.
HUAWEI S5735S-L24T4S-A Routing Switch uptime is 0 week, 0 day, 1 hour, 42 minutes

ES5D2T28S022 0(Master)  : uptime is 0 week, 0 day, 1 hour, 41 minutes
DDR             Memory Size : 1024  M bytes
FLASH Total     Memory Size : 512   M bytes
FLASH Available Memory Size : 306   M bytes
Pcb           Version   : VER.B
BootROM(1st)       Version   : 0000.0121
BootROM(2nd)       Version   : 0000.0200
BootLoad      Version   : 0213.0000
CPLD          Version   : 0107 
Software      Version   : VRP (R) Software, Version 5.170 (V200R019C10SPC500)
FLASH         Version   : 0000.0000

2.堆叠配置
先把堆叠线缆连接好

交换机一:

<HUAWEI>sy           
Enter system view, return user view with Ctrl+Z.

[HUAWEI]sysname STSW1
[STSW1]

[STSW1]i g0/0/28
[STSW1-GigabitEthernet0/0/28]shutdown
[STSW1-GigabitEthernet0/0/28]
May  7 2022 01:52:20 STSW1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 7, the change loop count is 0, and the maximum number of records is 4095.
[STSW1-GigabitEthernet0/0/28]

[STSW1-GigabitEthernet0/0/28]q

[STSW1]interface stack-port 0/1  
[STSW1-stack-port0/1]port interface GigabitEthernet 0/0/28 enable

Warning: Enabling stack function may cause configuration loss on the interface. Continue? [Y/N]:y
Info: This operation may take a few seconds. Please wait...
[STSW1-stack-port0/1]
May  7 2022 01:54:52 STSW1 %%01IFNET/4/IF_DISABLE(l)[0]:Interface GigabitEthernet0/0/28 has been unavailable.
May  7 2022 01:54:52 STSW1 %%01IFNET/4/IF_ENABLE(l)[1]:Interface GigabitEthernet0/0/28 has been available.

设置优先级为200
[STSW1]stack slot 0 priority 200
Warning: Do not frequently modify the priority because it will make the stack split. Continue? [Y/N]:
Error: Please choose 'YES' or 'NO' first before pressing 'Enter'. [Y/N]:y

保存配置
<STSW1>sa
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y

交换机二:

<HUAWEI>sy
Enter system view, return user view with Ctrl+Z.
[HUAWEI]sysname STSW2
[STSW2]i g0/0/28
[STSW2-GigabitEthernet0/0/28]shutdown
[STSW2-GigabitEthernet0/0/28]
[STSW2-GigabitEthernet0/0/28]q


[STSW2]stack slot 0 renumber 1
[STSW2]q
[STSW2]reboot
# 默认100,华为是1-255,值越大优先级越高会被推举为Master
[SWB]stack slot 0 priority 10    
[SWB]interface stack-port 1/2 
[STSW2-stack-port1/1]port  interface GigabitEthernet 1/0/28 enable 
Warning: Enabling stack function may cause configuration loss on the interface. Continue? [Y/N]:y
Info: This operation may take a few seconds. Please wait...
[STSW2-stack-port1/1]
Nov  9 2021 04:34:23 STSW2 %%01IFNET/4/IF_DISABLE(l)[0]:Interface GigabitEthernet1/0/28 has been unavailable.
Nov  9 2021 04:34:24 STSW2 %%01IFNET/4/IF_ENABLE(l)[1]:Interface GigabitEthernet1/0/28 has been available.

保存配置
<STSW2>sa
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y

3.查看堆叠完成配置
dis cu
2台堆叠成一台,查看随便一台配置信息都一样

4.堆叠删除成员

[STSW1]interface stack-port 0/1                    
[STSW1-stack-port0/1]shutdown i g0/0/28
Info: This operation may take a few seconds. Please wait...succeeded.
[STSW1-stack-port0/1]undo port interface GigabitEthernet 0/0/28 enable
Warning: Deleting member ports may cause stack split and a loss of all configurations on the interface. Continue? [Y/N]:y
Info: This operation may take a few seconds. Please wait....
[STSW1-stack-port0/1]
May  7 2022 05:42:35 STSW1 %%01IFNET/4/IF_DISABLE(l)[1]:Interface GigabitEthernet0/0/28 has been unavailable.
May  7 2022 05:42:35 STSW1 %%01IFNET/4/IF_ENABLE(l)[2]:Interface GigabitEthernet0/0/28 has been available.
[STSW1-stack-port0/1]

以上是关于华为交换机S5735S如何堆叠iStack的主要内容,如果未能解决你的问题,请参考以下文章

华为交换机istack堆叠配置

华为交换机详细堆叠教程

华为交换机堆S5735S叠报错there are port members of the same logic stack port ID

华为交换机堆S5735S叠报错there are port members of the same logic stack port ID

华三堆叠

级联堆叠集群负载均衡