--- title: "Adding an appliance using the Central Management System CLI" slug: "adding-an-appliance-using-the-central-management-system-cli-3" updated: 2026-10-01T16:29:29Z published: 2026-10-01T16:29:29Z canonical: "docs.trellix.com/adding-an-appliance-using-the-central-management-system-cli-3" --- > ## 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. # Adding an appliance using the Central Management System CLI Use the commands in this section to add an appliance to the Central Management System appliance. ### Note The procedure in this section includes the basic steps for adding an appliance. Additional options are available. See Configuring Secure Shell (SSH) Authentication in the Appendix for information about public key and host authentication. See the *CLI Command Reference* for a full list of the` cmc... `commands and details about their parameters and usage. To add an appliance: 1. Log in to the Central Management System CLI. 2. Enable the CLI configuration mode: ```plaintext cm-hostname > enable cm-hostname # configure terminal ``` 3. Specify the appliance IP address: ```plaintext cm-hostname (config) # cmc appliance address ``` where` applianceID `is the appliance record name `and IPaddress `is its IP address. ### Important Specify the IP address, not the hostname. Otherwise, if the hostname changes later, the connection will be broken and the appliance will need to be added again. 4. (Optional) Specify the appliance port: ```plaintext cm-hostname (config) # cmc appliance port ``` The port defaults to 22 if it is not specified. 5. Configure authentication for the remote user (an existing user on the appliance you are adding): ```plaintext cm-hostname (config) # cmc appliance authtype cm-hostname (config) # cmc appliance auth username cm-hostname (config) # cmc appliance auth password | identity ``` where` authtype `can be **password**, **ssh-dsa2**, or **ssh-rsa2**. (See [Configuring User Authentication Using the CLI](/network-and-platform/docs/configuring-user-authentication-using-the-cli-2) for details.) 6. (Optional) Add a comment describing the appliance: ```plaintext cm-hostname (config) # cmc appliance comment ``` 7. (Required for compliance mode; optional for non-compliance mode) Configure the appliance host key (beginning with the appliance IP address). For details, see [Importing a Host Key into the Global Host-Keys Database Using the CLI](/network-and-platform/docs/importing-a-host-key-into-the-global-host-keys-database-using-the-cli-4) . 8. Save your changes: ```plaintext cm-hostname (config) # write memory ``` ### Example ```plaintext cm-hostname (config) # cmc appliance Acme-NX address 172.00.00.00 cm-hostname (config) # cmc appliance Acme-NX authtype password cm-hostname (config) # cmc appliance Acme-NX password username admin3 cm-hostname (config) # cmc appliance Acme-NX password password 12345abcde cm-hostname (config) # cmc appliance Acme-NX comment New York NX Series ``` :