(27 June 2012)
on JunOS 10.4r5.5
Simple LAG Creation
Tell the switch how many ports are in each aggregated ethernet (ae) device:
set chassis aggregated-devices ethernet device-count 2
Create a LAG with two ports. Note you must first remove the
unit section from the physical ports before adding them to the ae. Then you must create the appropriate fields on the ae so that you can add it to VLANs:
set interfaces ae1 aggregated-ether-options minimum-links 2
delete interfaces ge-0/0/23 unit 0
delete interfaces ge-0/0/24 unit 0
set interfaces ge-0/0/23 ether-options 802.3ad ae1
set interfaces ge-0/0/24 ether-options 802.3ad ae1
set interfaces ae1 unit 0 family ethernet-switching port-mode access
set interfaces ae1 unit 0 family ethernet-switching vlan members i4c158
Same thing, only with LACP Passive set on the LAG:
You must do the
set chassis aggregated-devices command above if you have not already done so.
set interfaces ae0 aggregated-ether-options minimum-links 2
delete interfaces ge-0/0/21 unit 0
delete interfaces ge-0/0/22 unit 0
set interfaces ge-0/0/21 ether-options 802.3ad ae0
set interfaces ge-0/0/22 ether-options 802.3ad ae0
set interfaces ae0 aggregated-ether-options lacp periodic fast
set interfaces ae0 unit 0 family ethernet-switching port-mode access
set interfaces ae0 unit 0 family ethernet-switching vlan members i4c158
Reference
I have the document
software-ex-series-104-all.pdf; this stuff is discussed starting page 1330. It is kinda thin.