Go to main content

Administering TCP/IP Networks, IPMP, and IP Tunnels in Oracle® Solaris 11.4

Exit Print View

Updated: November 2020
 
 

How to Delete an IPMP Group

Use the following procedure if you no longer need a specific IPMP group.

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. Identify the IPMP group and the underlying IP interfaces that are to be deleted.
    $ ipmpstat -g
  2. Remove all of the IP interfaces that currently belong to the IPMP group.
    $ ipadm remove-ipmp -i under-interface[, -i under-interface, ...] ipmp-interface

    under-interface refers to the underlying interface that you want to remove and ipmp-interface refers to the IPMP interface from which you want to remove the underlying interface.


    Note -  To successfully delete an IPMP interface, no IP interface must exist as part of the IPMP group.
  3. Delete the IPMP interface.
    $ ipadm delete-ipmp ipmp-interface

    After you delete the IPMP interface, any IP address that is associated with the interface is also deleted from the system.

Example 19  Deleting an IPMP Interface

This example deletes the interface ipmp0 with the underlying IP interface net0 and net1.

$ ipmpstat -g
GROUP   GROUPNAME   STATE      FDT        INTERFACES
ipmp0   ipmp0      ok         10.00s     net0 net1
$ ipadm remove-ipmp -i net0 -i net1 ipmp0
$ ipadm delete-ipmp ipmp0