Go to main content

Managing Network Datalinks in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020
 
 

Adding a Link to an Aggregation

If you are adding datalinks to a trunk aggregation, you might have to reconfigure the switch to accommodate the additional datalinks even though LACP is configured on the switch.

How to Add a Link to an Aggregation

Before You Begin

Ensure that your role has the appropriate rights profile to perform this procedure. See Using Rights Profiles to Perform Network Configuration.

  1. Delete any IP interfaces configured over the link that you want to add to the aggregation.
    $ ipadm show-if
    $ ipadm delete-ip interface
  2. Add the link to the aggregation.
    $ dladm add-aggr -l link [-l link] [...] aggr
  3. (Trunk aggregations only) If necessary, reconfigure the switch.

    See the switch manufacturer's documentation to perform any reconfiguration tasks on the switch.

Example 4  Adding a Link to an Aggregation

This example shows how to add a link to the aggregation aggr0.

$ dladm show-link
LINK     CLASS     MTU     STATE     OVER
net0     phys      1500    up        --
net1     phys      1500    up        --
aggr0    aggr      1500    up        net0 net1
net3     phys      1500    up        --
$ ipadm delete-ip net3
$ dladm add-aggr -l net3 aggr0
$ dladm show-link
LINK     CLASS     MTU     STATE     OVER
net0     phys      1500    up        --    
net1     phys      1500    up        --       
aggr0    aggr      1500    up        net0 net1 net3
net3     phys      1500    up        --