Use the commands in this section to configure managed appliances by executing individual commands on behalf of them. The commands are executed once; they are not stored.
Note
For comprehensive information about the configuration commands, see the System Administration Guide, Administration Guide, or User Guide for your appliance.
Note
If you omit the command parameter from these commands, you will be prompted for it, and the characters you enter will be masked for confidentiality.
Note
This topic describes how to execute a single command. You can also define a profile of commands that run in sequence unattended. See Working with command profiles .
Go to CLI configuration mode:
hostname > enable hostname # configure terminal
Execute the command:
hostname (config) # cmc execute appliance <applianceName> command "<command>"where
commandmust be enclosed in double quotation marks.Save your changes:
hostname (config) # cmc execute appliance <applianceName> command "write memory"
Go to CLI configuration mode:
hostname > enable hostname # configure terminal
Execute the command:
hostname (config) # cmc execute group <groupName> command "<command>"where
commandmust be enclosed in double quotation marks.Save your changes:
hostname (config) # cmc execute group <groupName> command "write memory"
Important
You can cancel the execution of outstanding commands, as described in Canceling outstanding commands.
Example
This example executes the aaa authentication password local no-userid and show aaa authentication password commands on behalf of the NX-04 appliance.
hostname (config) # cmc execute appliance NX-04 command "aaa authentication password local no-userid" ============ Appliance NX-04 ============ Execution was successful. Execution output: (none) hostname (config) # cmc execute appliance NX-04 command "show aaa authentication password" ============ Appliance NX-04 ============ Execution was successful. Execution output: Local password requirements: Minimum length: 5 Maximum length: 32 Maximum character repeats: no limit Minimum lower case characters: 0 Minimum upper case characters: 0 Minimum special characters: 0 Minimum numeric characters: 0 Recent passwords to check against: Allowed password to match userid: no ...