The first thing we want to do is set the admin key for all LAGs to the non-default value of 65535 so that no LAGs will automatically form:
FixedSwitch(rw)->set lacp aadminkey lag.0.* 65535
LAGs 2 and 3 will form on the Fixed Switch so we need to set the admin key for this LAG:
FixedSwitch(rw)->set lacp aadminkey lag.0.2 200 FixedSwitch(rw)->set lacp aadminkey lag.0.3 300
We next want to enable the port active state and set the admin keys for the Fixed Switch physical ports:
FixedSwitch(rw)->set port lacp port ge.1.1 aadminkey 200 enable FixedSwitch(rw)->set port lacp port ge.1.2 aadminkey 200 enable FixedSwitch(rw)->set port lacp port ge.2.1 aadminkey 200 enable FixedSwitch(rw)->set port lacp port ge.2.2 aadminkey 200 enable FixedSwitch(rw)->set port lacp port ge.1.1 aadminkey 300 enable FixedSwitch(rw)->set port lacp port ge.1.2 aadminkey 300 enable FixedSwitch(rw)->set port lacp port ge.2.1 aadminkey 300 enable FixedSwitch(rw)->set port lacp port ge.2.2 aadminkey 300 enable
Next we want to change the system priority for the Fixed Switch so that it will be in charge of port selection on LAGs 2 and 3:
FixedSwitch(rw)->set lacp asyspri 100