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 router will go offline.
<rpc>
<delete-config>
<target>
<candidate/>
</target>
</delete-config>
</rpc>
![]() |
Warning: IF you take the router offline, you will need to access the router through the console port on the router. 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 router. |