Go to main content

Configuring and Managing Network Components in Oracle® Solaris 11.4

Exit Print View

Updated: December 2019

Removing ENMs From the System

Use the destroy subcommand to remove ENMs from the system. You must first disable the ENM, and then remove it.

The syntax for the destroy subcommand is as follows:

netcfg> destroy [ -a | enm-name ]

The –a option removes all of the ENMs from the system, except for any currently active ENMs.

How to Remove an ENM Interactively

The following procedure describes how to remove an ENM interactively. For example purposes only, this procedure shows how to remove an ENM named test-enm.

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. Initiate the netcfg interactive session.
    $ netcfg
  2. Remove the profile or configuration object.

    For example, you can remove an ENM named test-enm as follows:

    netcfg> destroy test-enm
  3. Exit the interactive session.
    netcfg> exit
Example 17  Removing an ENM in the Command-Line Mode

You can also remove an ENM by using the command-line mode as follows:

$ netcfg "destroy test-enm"