--- title: "Configuring managed appliances using the CLI" slug: "configuring-managed-appliances-using-the-cli-2" updated: 2026-08-25T21:17:48Z published: 2026-08-25T21:17:48Z canonical: "docs.trellix.com/configuring-managed-appliances-using-the-cli-2" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Configuring managed appliances using the CLI 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](/docs/working-with-command-profiles-1) . To execute a command on an appliance: 1. Go to CLI configuration mode: ``` hostname > enable hostname # configure terminal ``` 2. Execute the command: ``` hostname (config) # cmc execute appliance command "" ``` where` command `must be enclosed in double quotation marks. 3. Save your changes: ``` hostname (config) # cmc execute appliance command "write memory" ``` To execute a command on a group of appliances: 1. Go to CLI configuration mode: ``` hostname > enable hostname # configure terminal ``` 2. Execute the command: ``` hostname (config) # cmc execute group command "" ``` where` command `must be enclosed in double quotation marks. 3. Save your changes: ``` hostname (config) # cmc execute group command "write memory" ``` ### Important You can cancel the execution of outstanding commands, as described in [Canceling outstanding commands](/docs/canceling-outstanding-commands-1). ### 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  ... ``` :