Skip to main content

Changing CDP and Sync Charge Settings

You can disable CDP through the Internal hub settings by going through the advanced settings and turning "Sync charge" off or through the API and disabling it via code.


To disable Sync charge through the hub settings

  1. Click on ‘Hubs’ on the left-navigation bar
  2. Click on your connected hub you want to change
  3. On the right, you’ll see a settings ‘cog’ - click this
  4. Scroll to ‘Sync’ charge and either untick the chosen port, or ‘ALL OFF’
  5. Scroll down and hit ‘Apply’.

To disable CDP through the CLI

You’ll need the following 2 commands. The first is to enable editing of the settings and the second is configuring the chosen ports to disable CDP.

0 = disable
1 = enable

If you’re wishing to toggle a single, or multiple, ports & leave others enabled then simply change the 0 to a 1 in that chosen port. The ports are in sequential order, so settings_set sync_chrg 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 would only be switching CDP on port 2 to disabled.

settings_unlock
settings_set sync_chrg 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
<- This is to enable settings editing
<- This is disabling CDP on all ports