While the dsconfig non-interactive command-line mode is convenient for scripting and automating processes, obtaining the correct arguments and properties for each configuration change can be quite time consuming.

To facilitate easy and quick configuration, you can use an option to display the equivalent non-interactive command using dsconfig interactive mode. The command displays the equivalent dsconfig command to recreate the configuration in a scripted configuration or to more quickly enter any pending changes on the command line for another server instance.

Note: There are two other ways to get the equivalent dsconfig command. One way is by looking at the logs/config-audit.log. It might be more convenient to set the Directory Server up the way you want and then get the dsconfig arguments from the log. Another way is by configuring an option using the Administrative Console. The console shows the equivalent dsconfig command prior to applying the change.