--- title: "Enrolling a sensor using the Central Management CLI" slug: "enrolling-a-sensor-using-the-central-management-cli" tags: ["IVX Server"] updated: 2026-09-09T11:35:11Z published: 2026-09-09T11:35:11Z canonical: "docs.trellix.com/enrolling-a-sensor-using-the-central-management-cli" --- > ## 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. # Enrolling a sensor using the Central Management CLI Use the commands in this section to enroll a sensor using the Central Management CLI. > [!NOTE] > 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](/network-and-platform/docs/enrolling-a-sensor-using-the-central-management-cli#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: ```plaintext cm-hostname > enable cm-hostname # configure terminal ``` 3. Enroll the sensor: ```plaintext cm-hostname (config) # cmc mvx sensor enrollment enroll ``` where <`sensor name`> is the name of the sensor (the name shown in the show cmc appliances command output). 4. Verify your change: ```plaintext cm-hostname (config) # show cmc mvx cluster enrollment status ``` 5. Save your change: ```plaintext cm-hostname (config) # write memory ``` ##### To unsubscribe a sensor: 1. Log in to the CM Series CLI. 2. Enable the CLI configuration mode: ```plaintext cm-hostname > enable cm-hostname # configure terminal ``` 3. Unsubscribe the sensor: ```plaintext cm-hostname (config) # cmc mvx sensor enrollment unenroll ``` 4. Verify your change: ```plaintext cm-hostname (config) # show cmc mvx cluster enrollment status ``` 5. Save your change: ```plaintext 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. ```plaintext 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. ```plaintext 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] > 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.