How to Disable CDP and Sync Charge

Cambrionix Connect provides various configuration options for managing your hubs. You can disable CDP (Charging Downstream Port) by adjusting settings within the hub’s configuration interface or by using the API commands. This guide will walk you through both methods.

To Disable Sync Charge through the Hub Settings

  1. Click on the ‘Hubs’ tab located on the left navigation bar.
  2. Select the hub you want to configure by clicking on it.
  3. On the right side of the screen, you’ll see a settings icon (a gear or ‘cog’ symbol). Click this icon to access the settings.
  4. Scroll down to the ‘Sync Charge’ section. Here, you can untick specific ports to disable Sync Charge on those ports or choose ‘ALL OFF’ to disable it on all ports.
  5. After making your selections, scroll down and click ‘Apply’ to save the changes.

To Disable CDP through the CLI

For more advanced configurations, you can disable CDP directly through the CLI (Command Line Interface). Follow the steps below:

Step 1: Unlock Settings

First, you need to enable editing of the hub settings by running the following command:

settings_unlock

This command unlocks the settings for modification.

Step 2: Disable CDP

Next, you can configure the ports to disable CDP. Use the command below:

settings_set sync_chrg 0 0 0 0 0 0 0 0 0 0 0 0

This command disables CDP on all ports. To configure individual ports, replace the numbers as needed:

  • 0 = Disable
  • 1 = Enable

For example, if you want to disable CDP on port 2 only, you would use:

settings_set sync_chrg 1 0 1 1 1 1 1 1 1 1 1 1

In this case, the second position (port 2) is set to 0 (disable), while the other ports are left enabled with 1.

Note: The number of 1’s and 0’s should match the number of ports on your hub. Depending on the hub model, you may need to add or remove values to reflect the exact number of available ports.