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