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

Exit Print View

Updated: July 2014
 
 

How to Delete an IPMP Group

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

  1. Become the root role.
  2. Identify the IPMP group and the underlying IP interfaces that are to be deleted.
    # ipmpstat -g
  3. Remove all of the IP interfaces that currently belong to the IPMP group.
    # ipadm remove-ipmp -i under-interface[, -i under-interface, ...] ipmp-interface

    where 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.
  4. 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 3-8  Deleting an IPMP Interface

The following 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