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:
System(rw)->set lacp aadminkey lag.0.* 65535
LAG 1 will form on the edge switch so we need to set the admin key for this LAG:
System(rw)->set lacp aadminkey lag.0.1 100
We next want to enable the port active state and set the admin keys for the edge switch physical ports:
System(rw)->set port lacp port ge.1.1 aadminkey 100 enable System(rw)->set port lacp port ge.1.2 aadminkey 100 enable System(rw)->set port lacp port ge.2.1 aadminkey 100 enable System(rw)->set port lacp port ge.3.1 aadminkey 100 enable
Next we want to change the system priority for the edge switch so that it will be in charge of port selection on LAG1:
System(rw)->set lacp asyspri 100
On an S- or K-Series device, we next enable flow regeneration on the edge switch:
System(rw)->set lacp flowRegeneration enable