admin管理员组

文章数量:1130349

一、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/q6968297/article/details/106877440

一、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/q6968297/article/details/106877440

本文标签: 华为css