1.建立汇聚组
[SwitchA]link-aggregation group 1 mode manual
2.进入端口E1/0/1
[SwitchA]interface Ethernet1/0/1
3.参与端口汇聚的端口必须工作在全双工模式
[SwitchA-Ethernet1/0/1]duplex full
4.参与端口汇聚的端口工作速率必须一致
[SwitchA-Ethernet1/0/1]speed 100
5.将端口加入汇聚组
[SwitchA-Ethernet1/0/1]port link-aggregation group 1另一个端口做同样的配置。
静态汇聚的配置:
1.创建静态汇聚组1
[SwitchA] link-aggregation group 1 mode static
2.将以太网端口Ethernet1/0/1至Ethernet1/0/2加入汇聚组1
[SwitchA] interface Ethernet1/0/1
[SwitchA-Ethernet1/0/1] port link-aggregation group 1
[SwitchA-Ethernet1/0/1] interface Ethernet1/0/2
[SwitchA-Ethernet1/0/2] port link-aggregation group 1
动态汇聚的配置:
1.开启以太网端口Ethernet1/0/1至Ethernet1/0/3的LACP协议
<SwitchA> system-view
[SwitchA] interface Ethernet1/0/1
[SwitchA-Ethernet1/0/1] lacp enable
[SwitchA-Ethernet1/0/1] interface Ethernet1/0/2
[SwitchA-Ethernet1/0/2] lacp enable
[
[SwitchA]link-aggregation group 1 mode manual
2.进入端口E1/0/1
[SwitchA]interface Ethernet1/0/1
3.参与端口汇聚的端口必须工作在全双工模式
[SwitchA-Ethernet1/0/1]duplex full
4.参与端口汇聚的端口工作速率必须一致
[SwitchA-Ethernet1/0/1]speed 100
5.将端口加入汇聚组
[SwitchA-Ethernet1/0/1]port link-aggregation group 1另一个端口做同样的配置。
静态汇聚的配置:
1.创建静态汇聚组1
[SwitchA] link-aggregation group 1 mode static
2.将以太网端口Ethernet1/0/1至Ethernet1/0/2加入汇聚组1
[SwitchA] interface Ethernet1/0/1
[SwitchA-Ethernet1/0/1] port link-aggregation group 1
[SwitchA-Ethernet1/0/1] interface Ethernet1/0/2
[SwitchA-Ethernet1/0/2] port link-aggregation group 1
动态汇聚的配置:
1.开启以太网端口Ethernet1/0/1至Ethernet1/0/3的LACP协议
<SwitchA> system-view
[SwitchA] interface Ethernet1/0/1
[SwitchA-Ethernet1/0/1] lacp enable
[SwitchA-Ethernet1/0/1] interface Ethernet1/0/2
[SwitchA-Ethernet1/0/2] lacp enable
[