System Administration Guide: Network Interfaces and Network Virtualization

ProcedureHow to Delete an IPMP Group

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

  1. Assume the role of Primary Administrator, or become superuser.

    The Primary Administrator role includes the Primary Administrator profile. To create the role and assign the role to a user, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.

  2. Identify the IPMP group and the underlying IP interfaces.

    # ipmpstat -g
  3. Delete all IP interfaces that currently belong to the IPMP group.

    # ifconfig ip-interface group ""

    Repeat this step for all the IP interfaces that belong to the group.

    Note –

    To successfully delete an IPMP interface, no IP interface must exist as part of the IPMP group.

  4. Delete the IPMP interface.

    # ifconfig ipmp-interface unplumb

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

  5. To make the deletion persistent, perform the following additional steps:

    1. Delete the IPMP interface's corresponding hostname file.

      # rm /etc/hostname.ipmp-interface
    2. Remove the “group” keywords in the hostname files of the underlying interfaces.

Example 8–7 Deleting an IPMP Interface

To delete the interface itops0 that has the underlying IP interface subitops0 and subitops1, you would type the following commands:

# ipmpstat -g
itops0  itops0      ok         10.00s     subitops0 subitops1

# ifconfig subitops0 group ""
# ifconfig subitops1 group ""
# ifconfig itops0 unplumb
# rm /etc/hostname.itops0

You would then edit the files /etc/hostname.subitops0 and /etc/hostname.subitops1 to remove “group” entries in those files.