Enrolling a sensor using the Central Management CLI

Prev Next

Use the commands in this section to enroll a sensor using the Central Management CLI.

Note

You can also use the cmc execute command from the Central Management CLI to perform a sensor operation on a named group of sensors. In this scenario, the Central Management appliance executes the command individually on each member of the group. See Enrolling a named group of sensors for an example. For details about using the cmc execute command, see the Central Management System Administration Guide.

To enroll a sensor:
  1. Log in to the CM Series CLI.

  2. Enable the CLI configuration mode:

    cm-hostname > enable
    cm-hostname # configure terminal
  3. Enroll the sensor:

    cm-hostname (config) # cmc mvx sensor enrollment enroll <sensor name>

    where <sensor name> is the name of the sensor (the name shown in the show cmc appliances command output).

  4. Verify your change:

    cm-hostname (config) # show cmc mvx cluster enrollment status
  5. Save your change:

    cm-hostname (config) # write memory
To unsubscribe a sensor:
  1. Log in to the CM Series CLI.

  2. Enable the CLI configuration mode:

    cm-hostname > enable
    cm-hostname # configure terminal
  3. Unsubscribe the sensor:

    cm-hostname (config) # cmc mvx sensor enrollment unenroll <sensorName>
  4. Verify your change:

    cm-hostname (config) # show cmc mvx cluster enrollment status
  5. Save your change:

    cm-hostname (config) # write memory

Examples

Enrolling a Single Sensor

The following example enrolls the nx-6 sensor with Cluster-Acme. In this example, the sensors are connected to the vx-1 broker.

cm-5 (config) # cmc mvx sensor enrollment enroll nx-6
Sensor has been successfully enrolled
cm-5 (config) # show cmc mvx cluster enrollment status

SENSOR NAME CLUSTER NAME     BROKER NAME BROKER ADDRESS
=========== ============     =========== ==============
nx-1         Cluster-Acme     vx-1        10.11.121.12
nx-2         Cluster-Acme     vx-1        10.11.121.12
nx-6         Cluster-Acme     vx-1        10.11.121.12

Enrolling a named group of sensors

The following example enrolls each sensor in the Tokyo group with the cluster that has the least load at the time the individual command is executed.

cm-4 (config) # cmc execute group Tokyo command "mvx cluster enroll now"

============ Appliance nx-6 =============
Execution was successful.
Execution output:
Operation initiated in the background.
Run 'show mvx cluster enrollment status'

============ Appliance nx-7 =============
Execution was successful.
Execution output:
Operation initiated in the background.
Run 'show mvx cluster enrollment status'
cm-4 (config) # show cmc mvx cluster enrollment status

Note

Use the Central Management command show cmc mvx cluster enrollment status to view the cluster enrollment status, not the Network Security command show mvx cluster enrollment status that is shown in the command output.