交换机端口聚合,可实现交换机之间的链路具有较高的带宽和可靠性,并在交换机之间实现数据流量的负载分担。
相关命令:
- 创建Eth-Trunk
system-view
[Quidway] sysname S-switch-A
[S-switch-A] interface eth-trunk 1
[S-switch-A-Eth-Trunk1] quit - 配置交换机A上的eth-trunk 1
[S-switch-A] interface eth-trunk 1
[S-switch-A-Eth-Trunk1]port link-type trunk
[S-switch-A-Eth-Trunk1]port trunk allow-pass vlan all
[S-switch-A-Eth-Trunk1]quit - 加入Eth-Trunk 的成员接口
[S-switch-A] interface Ethernet0/0/1
[S-switch-A-Ethernet0/0/1]undo port default vlan
[S-switch-A-Ethernet0/0/1]undo ntdp enable
ntdp “邻居拓扑发现协议”
[S-switch-A-Ethernet0/0/1]undo ndp enable
ndp “邻居发现协议”
[S-switch-A-Ethernet0/0/1]bpdu disable
bpdu “网桥协议数据单元”
[S-switch-A-Ethernet0/0/1]eth-trunk 1
需要几分钟
[S-switch-A-Ethernet0/0/1] quit
[S-switch-A] interface Ethernet0/0/2
[S-switch-A-Ethernet0/0/2]undo port default vlan
[S-switch-A-Ethernet0/0/2]undo ntdp enable
[S-switch-A-Ethernet0/0/2]undo ndp enable
[S-switch-A-Ethernet0/0/2]bpdu disable
[S-switch-A-Ethernet0/0/2] eth-trunk 1
[S-switch-A-Ethernet0/0/2] quit
[S-switch-A] interface Ethernet0/0/3
[S-switch-A-Ethernet0/0/3]undo port default vlan
[S-switch-A-Ethernet0/0/3]undo ntdp enable
ntdp
[S-switch-A-Ethernet0/0/3]undo ndp enable
[S-switch-A-Ethernet0/0/3]bpdu disable
[S-switch-A-Ethernet0/0/3] eth-trunk 1
[S-switch-A-Ethernet0/0/3] quit
实验拓扑如下: