淘宝百度广达pica8交换机配置汇聚接口笔记

1,设置需要通过的的vlan

configure
set vlans vlan-id 2
commit

2,设置汇聚接口

set interface aggregate-ethernet ae1
set interface gigabit-ethernet te-1/1/1 ether-options 802.3ad ae1
set interface gigabit-ethernet te-1/1/2 ether-options 802.3ad ae1
set interface aggregate-ethernet ae1 aggregated-ether-option lacp enable true
set interface aggregate-ethernet ae1 aggregated-ether-option min-selected-port 1
set interface aggregate-ethernet ae1 family ethernet-switching port-mode trunk
commit

3,将vlan加入到汇聚接口

set interface aggregate-ethernet ae1 family ethernet-switching vlan members 2
commit

4,更改端口速度,如果交换机速度不匹配的话

set interface gigabit-ethernet te-1/1/1 speed 1000
commit

5,保存配置,一定记得每次设置了 commit下。不然只能 exit d。命令先后顺序一定不要搞错,先设置trunk,再加vlan。
save running-to-startup

此设置在华为交换机下通过。

这个交换机48口万兆,还有4个40g口。3500极具性价比。