您的位置:首页 > 健康 > 美食 > 【网络技术】堆叠通用部署

【网络技术】堆叠通用部署

2024/12/24 10:41:42 来源:https://blog.csdn.net/XMWS_IT/article/details/140948617  浏览:    关键词:【网络技术】堆叠通用部署

相关文章推荐 点击查看:

  •  华为交换机堆叠技术

  • 华为交换机组建堆叠案例

  • 【技术分享】堆叠交换机替换指导

  • 交换机为什么要堆叠?

 

配置交换机1

<HUAWEI> system-view
[HUAWEI] sysname Switch1
[Switch1] interface stack-port 0/1
[Switch1-stack-port0/1] port interface xgigabitethernet 0/0/3 xgigabitethernet 0/0/4 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......
[Switch1-stack-port0/1] quit
[Switch1] stack slot 0 priority 150 //优先级设置为150,使其成为堆叠主
Warning: Do not frequently modify the priority because it will make the stack split. Continue? [Y/N]:y
[Switch1] quit
<Switch1> save //堆叠相关的配置不需要保存,会自动写入flash。为防止其他配置丢失,这里建议执行save命令进行保存
The current configuration will be written to flash:/vrpcfg.zip.
Are you sure to continue?[Y/N]y
Now saving the current configuration to the slot 0.......
Save the configuration successfully.

配置交换机2

<HUAWEI> system-view
[HUAWEI] sysname Switch2
[Switch2] interface stack-port 0/2 //逻辑堆叠口1只能和逻辑堆叠口2相连,所以这里需要配置为逻辑堆叠口2
[Switch2-stack-port0/2] port interface xgigabitethernet 0/0/3 xgigabitethernet 0/0/4 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......
[Switch2-stack-port0/2] quit
[Switch2] stack slot 0 renumber 1 //设置堆叠ID为1,使用缺省的堆叠优先级100
Warning: All the configurations related to the slot ID will be lost after the slot ID is modified.
Do not frequently modify the slot ID because it will make the stack split. Continue? [Y/N]:y
Info: Stack configuration has been changed, and the device needs to restart to make the configuration effective.
[Switch2] quit
<Switch2> save //堆叠相关的配置不需要保存,会自动写入flash。为防止其他配置丢失,这里建议执行save命令进行保存
The current configuration will be written to flash:/vrpcfg.zip.
Are you sure to continue?[Y/N]y
Now saving the current configuration to the slot 0.......
Save the configuration successfully.

验证堆叠

<Switch1> display stack //堆叠组建成功,switch1是堆叠主
Stack mode: Service-port
Stack topology type : Ring
Stack system MAC: 00e0-fc12-2355
MAC switch delay time: 10 min
Stack reserved vlan : 4093
Slot of the active management port: --
Slot Role Mac address Priority Device type
-------------------------------------------------------------
0 Master 00e0-fc12-2355 150 S5720-56C-HI-AC
1 Standby 00e0-fc12-2356 100 S5720-56C-HI-AC

— 年度热文 —

新生代网工必看:华为模拟器eNSP安装教程(附下载链接)

【超详细】思科模拟器EVE的安装与使用,附下载链接

一款功能齐全的网管软件:Ip-tools

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com