Configuring the Distribution Switch

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

LAGs 1 and 2 will form on the distribution switch so we need to set the admin keys for these LAGs:

System(rw)->set lacp aadminkey lag.0.1 100
System(rw)->set lacp aadminkey lag.0.2 200

We next want to enable the port active state and set the admin keys for the distribution switch physical ports:

System(rw)->set port lacp port ge.1.1 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
System(rw)->set port lacp port ge.4.1 aadminkey 100 enable
System(rw)->set port lacp port ge.1.2 aadminkey 200 enable
System(rw)->set port lacp port ge.2.2 aadminkey 200 enable
System(rw)->set port lacp port ge.3.2 aadminkey 200 enable
System(rw)->set port lacp port ge.4.2 aadminkey 200 enable

Because we want the edge switch and the Fixed Switch to be in charge of port selection, the system priority for the distribution switch will be left at the default value of 32768. On an S- or K-Series device, we next enable flow regeneration on the distribution switch:

System(rw)->set lacp flowRegeneration enable