Adding sensors to a Central Management appliance using the CLI:

Prev Next

Use the commands in this section to add appliances that will function as sensors to a Central Management appliance.

  1. Log in to the Central Management CLI.

  2. Go to CLI configuration mode:

    cm-hostname > enable

    cm-hostname # configure terminal

  3. Add the appliance:

    cm-hostname (config) # cmc appliance <appl ID> address <IP address>

    cm-hostname (config) # cmc appliance <appl lD> auth password username <username>

    cm-hostname (config) # cmc appliance <appl ID> auth password password <password>

    where:

    • appl ID is the name of the appliance. (The name is displayed in the show cmc appliances command output.)

    • IP address is the IPv4 or IPv6 address of the management interface on the appliance.

    • username is the username of a user account on the appliance with the admin role.

    • password is the password of the user specified by username.

  4. Repeat the previous step for each additional appliance.

  5. Check the connection status:

    cm-hostname (config) # show cmc appliances

  6. Save your changes:

    cm-hostname (config) # write memory

Example

The following example adds the nx-1 and nx-2 appliances to the Central Management appliance.

cm-1 (config) # cmc appliance nx-1 address 172.17.74.50
cm-1 (config) # cmc appliance nx-1 auth password username admin
cm-1 (config) # cmc appliance nx-1 auth password password admin123 
cm-1 (config) # cmc appliance nx-2 address 10.13.65.14
cm-1 (config) # cmc appliance nx-2 auth password username admin
cm-1 (config) # cmc appliance nx-2 auth password password admin123
cm-1 (config) # show cmc appliances
Appliance nx-1:
    Address:             172.17.74.50
    Enabled:             yes
    Connected:           yes (server-initiated)
    Status check OK:     yes
    Version compatible:  no
Appliance nx-2:
    Address:             10.13.65.14
    Enabled:             yes
    Connected:           yes (server-initiated)
    Status check OK:     yes
    Version compatible:  no