背景:聚合端口g0/0/1 和 g0/0/2 (华为);聚合端口g1/0/1 和 g1/0/2 (新华三);要求所有vlan? 通过
【华为】
[Huawei]??int ?eth-trunk 1
[Huawei-Eth-Trunk1] port link-type trunk
[Huawei-Eth-Trunk1] port trunk allow-pass vlan all[Huawei-g0/0/1] eth-trunk 1
[Huawei-g0/0/2] eth-trunk 1
查看链路聚合是 dis ?eth-trunk 1
【新华三】
?[HC3] int? bridge-aggregation? 1
?[HC3-bridge-aggregation-1]? port? link-type trunk
?[HC3-bridge-aggregation-1]? port? trunk permit? vlan all
?[HC3-bridge-aggregation-1]? quit
?[HC3] int g1/0/1
?[HC3-g1/0/1]??port? link-aggregation group 1
?[HC3-g1/0/1] quit
?[HC3] int g1/0/2
?[HC3-g1/0/2]??port? link-aggregation group 1
?[HC3-g1/0/2] quit
查看链路聚合是? dis? link-aggregation verbose
注?
【华为】stp enable? 开启stp?
【新华三】
先dis stp?
如果protocal status为disable则表示是关闭的,可以通过stp global enable 开启