Deleting the Candidate Configuration

You can use the <delete-config> tag element to delete the current candidate configuration. Exercise caution when issuing the <delete-config> tag element. If you commit an empty candidate configuration, the device will go offline.

<rpc>
  <delete-config>
    <target>
      <candidate/>
    </target>
  </delete-config>
</rpc>

Warning: If you take the device offline, you will need to access the device through the console port on the device. From this console, you can access the CLI and perform a rollback to a suitable configuration. For more information on the console port, see the hardware manual for your specific device.