Use the commands in this section to enroll a sensor using the Central Management CLI.
Note
You can also use the
cmc executecommand 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 thecmc executecommand, see the Central Management System Administration Guide.
To enroll a sensor:
Log in to the CM Series CLI.
Enable the CLI configuration mode:
cm-hostname > enable cm-hostname # configure terminalEnroll 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).Verify your change:
cm-hostname (config) # show cmc mvx cluster enrollment statusSave your change:
cm-hostname (config) # write memory
To unsubscribe a sensor:
Log in to the CM Series CLI.
Enable the CLI configuration mode:
cm-hostname > enable cm-hostname # configure terminalUnsubscribe the sensor:
cm-hostname (config) # cmc mvx sensor enrollment unenroll <sensorName>Verify your change:
cm-hostname (config) # show cmc mvx cluster enrollment statusSave 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.12Enrolling 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 statusNote
Use the Central Management command
show cmc mvx cluster enrollment statusto view the cluster enrollment status, not the Network Security commandshow mvx cluster enrollment statusthat is shown in the command output.