本文共 1536 字,大约阅读时间需要 5 分钟。
步骤1 创建Eth-Trunk #
创建Eth-Trunk 1。<Quidway> system-view [Quidway] sysname Switch [Switch] interface eth-trunk 1 [Switch-Eth-Trunk1] quit 步骤2 向Eth-Trunk中加入成员接口[Switch] interface ethernet 0/0/3
[Switch-Ethernet0/0/3] eth-trunk 1[Switch-Ethernet0/0/3] quit 默认情况下不允许任何VLAN通过,所以必须配置允许的VLAN,不仅仅是聚合端口,Trunk端口也要做该配置步骤3 配置Eth-Trunk 1[Switch] interface eth-trunk 1
[Switch-Eth-Trunk1] port link-type trunk [Switch-Eth-Trunk1] port trunk allow-pass vlan 100 to 200 [Switch-Eth-Trunk1] quit 在任意视图下执行display trunkmembership命令,检查Eth-Trunk 1是否创建成功,及成员接口是否正确加入。静态LACP聚合:
步骤1 创建编号为1的Eth-Trunk,配置它的工作模式为静态LACP模式<Quidway> system-view
[Quidway] sysname SwitchA [SwitchA] interface eth-trunk 1 [SwitchA-Eth-Trunk1] bpdu enable[SwitchA-Eth-Trunk1] mode lacp-static [SwitchA-Eth-Trunk1] quit步骤2 将成员接口加入Eth-Trunk[SwitchA] interface ethernet 0/0/1
[SwitchA-Ethernet0/0/1] eth-trunk 1 [SwitchA-Ethernet0/0/1] quit步骤3 在SwitchA上配置系统优先级为100,使其成为LACP主动端[SwitchA] lacp priority 100步骤4 在SwitchA上配置活动接口上限阈值为2 [SwitchA] interface eth-trunk 1[SwitchA-Eth-Trunk1] max active-linknumber 2 [SwitchA-Eth-Trunk1] quit步骤5 在SwitchA上配置接口优先级确定活动链路[SwitchA] interface ethernet 0/0/1 [SwitchA-Ethernet0/0/1] lacp priority 100 [SwitchA-Ethernet0/0/1] quit增加接口成员在Eth-Trunk接口视图下转载于:https://blog.51cto.com/13562456/2065017