// Module included in the following assemblies:
//
// * networking/route_advertisements/disabling-route-advertisements.adoc

:_mod-docs-content-type: PROCEDURE
[id="nw-route-advertisements-disable_{context}"]
= Disabling route advertisements

[role="_abstract"]
To prevent your cluster from advertising additional routes to the network, you must disable the route advertisements feature in the network operator configuration. You can disable route advertisements to manage network traffic and maintain security within your environment.

.Prerequisites

* You have installed the {oc-first}.
* You are logged in to the cluster as a user with the `cluster-admin` role.
* The cluster is installed on compatible infrastructure.

.Procedure

* To disable additional routing support, enter the following command:
+
[source,terminal]
----
$ oc patch network.operator cluster -p '{
  "spec": {
    "defaultNetwork": {
      "ovnKubernetesConfig": {
        "routeAdvertisements": "Disabled"
      }
    }
  }
}'
----
