Use the commands in this section to apply profiles to a specific appliance or to an appliance group. For a description of the optional parameters, see Profile options.
Important
Unless you use the no-save parameter, the configuration changes set by the commands in the profile are written to memory.
Important
You can cancel the execution of outstanding commands in a profile, as described in Canceling outstanding commands.
Go to CLI configuration mode:
hostname > enable hostname # configure terminal
Apply the profile:
To apply the profile normally:
hostname (config) # cmc profile <profileName> apply appliance <applianceName>To prevent the configuration changes from being written to memory after the profile is applied:
hostname (config) # cmc profile <profileName> apply appliance <applianceName> no-saveTo continue executing commands after one command fails:
hostname (config) # cmc profile <profileName> apply appliance <applianceName> fail-continue
View the command output to determine whether the profile was applied successfully.
Save your changes:
hostname (config) # write memory
Enable the CLI configuration mode:
hostname > enable hostname # configure terminal
Apply the profile:
To apply the profile normally:
hostname (config) # cmc profile <profileName> apply group <groupName>To prevent the configuration changes from being written to memory after the profile is applied:
hostname (config) # cmc profile <profileName> apply group <groupName> no-saveTo continue executing commands on the appliances in the group after one command fails:
hostname (config) # cmc profile <profileName> apply group <groupName> fail-continue
View the command output to determine whether the profile was applied successfully.
Save your changes:
hostname (config) # write memory
Examples
Successful profile application
This example applies the "acctmgt" profile to the NX-04 appliance, which succeeds.
hostname (config) # cmc profile acctmgt apply appliance NX-04
=================Appliance NX-04=============================
Execution was successful.
Execution output:
Saving configuration file...Done!Failed profile application
This example attempts to apply the "DateTimeJpn" profile to the Tokyo group, but fails because manual time and date settings are not permitted when NTP is enabled.
hostname (config) # cmc profile DateTimeJpn apply group Tokyo
=================Appliance FX-03 =============================
Error code 6 (CLI command execution failure)
Error output:
%NTP enabled, clock adjustment not allowed
Execution output:
(none)