Adding an appliance in a NAT deployment using the Central Management System CLI

Prev Next

Use the commands in this section to add an appliance that is behind a NAT gateway 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 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. Go to CLI configuration mode:

    cm-hostname > enable
    cm-hostname # configure terminal
  3. Specify the virtual NAT IP address that is mapped to the appliance internal IP address:

    cm-hostname (config) # cmc appliance <applianceID> address

    where applianceID is the appliance record name.

    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 virtual NAT port that is mapped to the appliance internal SSH port:

    cm-hostname (config) # cmc appliance port <port>

    The port defaults to 22 if it is not specified.

  5. Configure authentication:

    cm-hostname (config) # cmc appliance <applianceID> authtype <authtype>
    cm-hostname (config) # cmc appliance <applianceID> auth <authtype> username <username>
    cm-hostname (config) # cmc appliance <applianceID> auth <authtype> password <password> | identity <identity>

    where authtype can be password, ssh-dsa2, or ssh-rsa-2. (See Configuring User Authentication Using the CLI for details.)

  6. (Optional) Add a comment describing the appliance:

    cm-hostname (config) # cmc appliance <applianceID> comment <comment>
  7. Save your changes:

    cm-hostname (config) # write memory

Example

The following example adds Acme-NX to the Central Management System appliance and configures password authentication.

cm-hostname (config) # cmc appliance Acme-NX address 10.3.3.6
cm-hostname (config) # cmc appliance Acme-NX port 1000
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