Go to main content

Managing Network Datalinks in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020
 
 

Deleting a Link Aggregation

Before deleting the aggregation, remove its configured IP interface and VNICs first.


Note -  When you remove a datalink by using the dladm delete-phys command, any aggregation (a layer 2 component) that is configured over the datalink is also deleted. This dladm delete-phys command also deletes the other layer 2 components such as flows, VNICs, and VLANs configured over the datalink. However, you must manually delete the layer 3 components configured over the datalink such as IP interfaces by using the ipadm command.

How to Delete a Link 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 the IP interface that is configured over the link aggregation.
    $ ipadm delete-ip IP-aggr

    where IP-aggr is the IP interface over the link aggregation.

  2. Delete the link aggregation.
    $ dladm delete-aggr aggr
Example 13  Deleting a Link Aggregation

This example shows how to delete the aggregation aggr0. The deletion is persistent.

$ ipadm delete-ip aggr0
$ dladm delete-aggr aggr0