JunOS:错误:找不到设备ae0

时间:2020-02-23 14:44:14  来源:igfitidea点击:

在JunOS上设置LACP接口时遇到问题,并出现此"错误:找不到设备AE0"消息?

root@EX4200> show lacp interfaces ae0
error: device ae0 not found

首先,请确保正确配置了LACP接口成员:

set interfaces ge-0/0/0 ether-options 802.3ad ae0
set interfaces ge-0/0/0 description "<OPTIONAL_DESCRIPTION>"
set interfaces ge-0/0/1 ether-options 802.3ad ae0
set interfaces ge-0/0/1 description "<OPTIONAL_DESCRIPTION>"

然后确保LACP设置正确:

set interfaces ge-0/0/0 ether-options 802.3ad ae0
set interfaces ge-0/0/1 ether-options 802.3ad ae0
set interfaces ae0 description "<OPTIONAL_DESCRIPTION>"
set interfaces ae0 mtu <MTU_SIZE>
set interfaces ae0 aggregated-ether-options link-speed <LINK_SPEED>
set interfaces ae0 aggregated-ether-options lacp <active | passive>
set interfaces ae0 unit 0 family ethernet-switching port-mode <access | trunk>
set interfaces ae0 unit 0 family ethernet-switching vlan members <VLAN_ID>

关键参数如下所示,您需要定义要在设备上创建多少个聚合接口(每个物理机箱单元最多32个):

set chassis aggregated-devices ethernet device-count 1

提交更改,现在应显示LACP界面:

root@EX4200> show lacp statistics interfaces 
Aggregated interface: ae0
LACP Statistics: LACP Rx LACP Tx Unknown Rx Illegal Rx 
ge-0/0/0 28 8 0 0
ge-0/0/1 0 28 0 0

(此示例假设您要在ae0下聚合接口ge-0/0/0 1)。