当前位置:网站首页 > 网络设备调试 正文 网络设备调试

华为css与堆叠,华为堆叠配置

南京泽同信息 2025-11-24 22:03:00 网络设备调试 41 ℃ 0 评论

一、Master配置

system-view immediately    #进这个模式修改配置不需要commit

[HUAWEI] stack

[HUAWEI-stack] stack member 1 domain 10

[HUAWEI-stack] stack member 1 priority 16

[HUAWEI] interface stack-port1/1

[HUAWEI] interface stack-port1/2

[HUAWEI] interface 100GE 1/0/2

[HUAWEI-100GE1/0/2] description "Link_CSS"

[HUAWEI-100GE1/0/2] shutdown

[HUAWEI-100GE1/0/2] port mode stack

[HUAWEI-100GE1/0/2] stack-port 1/1

[HUAWEI-100GE1/0/2] undo shutdown

[HUAWEI] interface 100GE 1/0/6

[HUAWEI-100GE1/0/6] description "Link_CSS"

[HUAWEI-100GE1/0/6] shutdown

[HUAWEI-100GE1/0/6] port mode stack

[HUAWEI-100GE1/0/6] stack-port 1/2

[HUAWEI-100GE1/0/6] undo shutdown

save

reboot

display stack

二、Slave配置

system-view immediately

[HUAWEI] stack

[HUAWEI-stack] stack member 1 renumber 2

save

reboot

[HUAWEI] stack

[HUAWEI-stack] stack member 2 domain 10

[HUAWEI-stack] stack member 2 priority 1

[HUAWEI] interface stack-port2/1

[HUAWEI] interface stack-port2/2

[HUAWEI] interface 100GE 2/0/2

[HUAWEI-100GE2/0/2] description "Link_CSS"

[HUAWEI-100GE2/0/2] shutdown

[HUAWEI-100GE2/0/2] port mode stack

[HUAWEI-100GE2/0/2] stack-port 2/1

[HUAWEI-100GE2/0/2] undo shutdown

[HUAWEI] interface 100GE 2/0/6

[HUAWEI-100GE2/0/6] description "Link_CSS"

[HUAWEI-100GE2/0/6] shutdown

[HUAWEI-100GE2/0/6] port mode stack

[HUAWEI-100GE2/0/6] stack-port 2/2

[HUAWEI-100GE2/0/6] undo shutdown

save

reboot

三、最后开启管理网口检测

[HUAWEI] interface MEth0/0/0

[HUAWEI-MEth0/0/0] dual-active detect enable     #配置管理网口的双主检测功能

说明:

在管理网口检测方式中,要求堆叠管理网口必须配置IP地址,堆叠后只显示一个管理网口MEth0/0/0,只需要在这一个管理网口下配置IP地址即可

成员设备之间的管理网口相互直连也可以实现双主检测。在这种情况下,管理网口也必须配置IP地址

参考链接:

https://blog.csdn.net/q6968297/article/details/106877440

你可能想看:

版权说明:如非注明,本站文章均为 ZBLOG 原创,转载请注明出处和附带本文链接

请在这里放置你的在线分享代码
Copyright Your WebSite.Some Rights Reserved.
微信咨询&联系客服
QQ:2586422870
在线时间
9:00 ~ 23:00