华为交换机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]
  • 2
    点赞
  • 16
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

玩人工智能的辣条哥

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值