Having problem setting LACP interface on JunOS and got this “error: device ae0 not found” message?
root@EX4200> show lacp interfaces ae0
error: device ae0 not found
First, make sure the LACP interface members are properly configured :
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>"
Then make sure the LACP settings are correct :
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>
The key parameter, as followed, you need to define how many aggregated interface you want to create on your device (max. of 32 per physical chassis unit) :
set chassis aggregated-devices ethernet device-count 1
Commit the changes and the LACP interface should now appear :
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
(This example assume you wanted to aggregate interfaces ge-0/0/0 – 1 under “ae0”).