Skip to main content

configprofiles unassign

This command removes a server profile from a server or chassis bay by deactivating the profile.

Syntax

configprofiles unassign  -h

configprofiles unassign -i <profile_ID> [-p <Boolean>] [--resetimm <Boolean>]
[–-resetswitch <Boolean>] [-f <Boolean>] [-v <filter>]

Options

{-h | --help}
Displays the syntax and brief usage information for this command.
{-i | --id} <profile_ID>
Specifies the ID of the server profile. If an ID is not specified, all server profiles are returned.
{-p | --powerdown} <Boolean>
Identifies whether to power off the server. This can be one of the following values.
  • true. Powers off the server.

  • false. (default) Does not power off the server.

{--resetswitch} <Boolean>
Identifies whether to reset the switch internal port settings to default values. This can be one of the following values.
  • true. Resets the switch internal port settings.

  • false. (default) Does not reset the switch internal port settings.

{--resetimm} <Boolean>
Identifies whether to reset the baseboard management controller to default settings. This can be one of the following values.
  • true. Resets the management controller.

  • false. (default) Does not reset the management controller.

{-f | --force} <Boolean>
Identifies whether to force profile deactivation. This can be one of the following values.
  • true. Forces profile deactivation.

  • false. (default) Does not force profile deactivation.

{-v | --view} <filter>
Identifies the view to use for the returned data. If a filter is not specified, the default view is used.

You can also create custom views (see Creating custom views).

Examples

The following example unassign a profile from a specific server.
connect --url https://192.0.2.0 --user ADMIN --noverify
configprofiles unassign -i 121
The following example unassign a profile from a specific server, resets the management controller and switch settings, and then powers off the server.
connect --url https://192.0.2.0 --user ADMIN --noverify
configprofiles unassign -i 121 --resetswitch true --resetimm true –p true