// Module included in the following assemblies:
//
// * microshift_networking/microshift-disconnected-network-config.adoc

:_mod-docs-content-type: PROCEDURE
[id="microshift-undo-network-config_{context}"]
= Restoring {microshift-short} networking settings to default

[role="_abstract"]
To remove networking customizations and return the network to default settings, stop {microshift-short} and run a clean-up script.

.Prerequisites
* RHEL 9 or newer.
* MicroShift 4.14 or newer.
* Access to the host CLI.

.Procedure

. Stop the {microshift-short} service by running the following command:
+
[source,terminal]
----
$ sudo systemctl stop microshift
----

. Stop the `kubepods.slice` systemd unit by running the following command:
+
[source,terminal]
----
$ sudo systemctl stop kubepods.slice
----

. {microshift-short} installs a helper script to undo network changes made by OVN-K. Run the cleanup script by entering the following command:
+
[source,terminal]
----
$ sudo /usr/bin/microshift-cleanup-data --ovn
----

//Q: any sample output? what should we see when we run the script?