This is a cache of https://docs.okd.io/latest/networking/advanced_networking/bgp_routing/disabling-bgp-routing.html. It is a snapshot of the page at 2026-05-19T18:42:07.725+0000.
Disabling BGP routing - Advanced networking | Networking | OKD 4
×

To stop external route advertisement and restore standard cluster networking behavior, disable OVN-Kubernetes Border Gateway Protocol (BGP) routing.

As a cluster administrator, you can disable OVN-Kubernetes BGP routing support for your cluster.

Disabling Border Gateway Protocol (BGP) routing

Disable Border Gateway Protocol (BGP) routing for your cluster by removing additional routing capabilities from the network configuration.

As a cluster administrator, you can disable BGP routing support for your cluster on bare-metal infrastructure.

Prerequisites
  • You have installed the OpenShift CLI (oc).

  • 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 dynamic routing, enter the following command:

    $ oc patch Network.operator.openshift.io/cluster --type=merge -p '{
      "spec": { "additionalRoutingCapabilities": null }
    }'