Go to main content

Managing Network Datalinks in Oracle® Solaris 11.3

Exit Print View

Updated: December 2017
 
 

Deleting a Link Aggregation

You can delete a link aggregation by using the dladm delete-aggr command. You must remove the IP interface and VNICs configured over the link aggregation before deleting the aggregation.


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

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.

  2. 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.

  3. Delete the link aggregation.
    # dladm delete-aggr aggr
Example 12  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