The example in this procedure aggregates sample interfaces i40e0, i40e1, i40e2, and i40e3. Arbitrary key numbers (1 and 2) are used for each aggregation.
root@xn5-2a:~# dladm create-aggr -l net5 -l net6 aggr1 root@xn5-2a:~# ipadm create-ip aggr1 root@xn5-2a:~# ipadm create-addr -a 192.1.1.14/24 aggr1 aggr1/v4
root@xn5-2a:~# dladm show-aggr LINK MODE POLICY ADDRPOLICY LACPACTIVITY LACPTIMER aggr1 trunk L4 auto off short
# dladm create-aggr -m dlmp -l net5 -l net6 aggr2 # dladm show-aggr LINK MODE POLICY ADDRPOLICY LACPACTIVITY LACPTIMER aggr2 dlmp -- -- -- --