not in the database. Use the ``cb_cmds`` hooks library to manage the
subnets information in the database instead.
+.. note::
+
+ Using custom option formats requires creating definitions for these options.
+ Suppose a user wishes to set option data in the configuration backend. In
+ that case, we recommend specifying the definition for that option in the
+ configuration backend as well. It is essential when multiple servers are
+ managed via the configuration backend, and may differ in their
+ configurations. The option data parser can search for an option definition
+ appropriate for the server for which the option data is specified.
+
+ In a single-server deployment, or when all servers share the same
+ configuration file information, it is possible to specify option
+ definitions in the configuration files and option data in the configuration
+ backend. The server receiving a command to set option data must have a
+ valid definition in its configuration file, even when it sets option data
+ for another server.
+
+ It is not supported to specify option definitions in the configuration
+ backend and the corresponding option data in the server configuration files.
+
CB Components
-------------
This library may only be loaded by the ``kea-dhcp4`` or
``kea-dhcp6`` process.
+.. note::
+
+ Please read about :ref:`cb-limitations` before using the commands
+ described in this section.
+
Commands Structure
~~~~~~~~~~~~~~~~~~
existing option definition in the database. The structure of the option
definition information is the same as in the Kea configuration file (see
:ref:`dhcp4-custom-options` and :ref:`dhcp6-custom-options`).
-The following command creates the DHCPv4 option definition in the
+The following command creates the DHCPv4 option definition at the
top-level "dhcp4" option space and associates it with the "server1":
.. code-block:: json
The `server-tags` list must include exactly one
server tag or the keyword "all". It must not contain the
-`null` value.</para>
+`null` value.
+
.. _command-remote-option4-global-del: