华为交换机堆叠配置脚本

stack
stack member 1
stack priority 150
stack domain 1
stack member 1 link-type linecard-direct 		//配置使用业务板直连方式堆叠

port-group group-member 10ge 1/0/1 to 10ge 1/0/2
shutdown

interface stack-port 1/2
port member-group interface 10ge 1/0/1 to 1/0/2

port-group group-member 10ge 1/0/1 to 10ge 1/0/2
undo shutddown

save

stack
stack enable

//堆叠成功后,配置MAD检测
interface 10ge 1/0/3 
stp disable
dual-active detect mode direct
interface 10ge 1/0/4
stp disable
dual-active detect mode direct
interface 10ge 2/0/3
stp disable
dual-active detect mode direct
interface 10ge 2/0/4
stp disable
dual-active detect mode direct

发表评论

您的电子邮箱地址不会被公开。

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据