Delete a Route Distribution Statement

Remove or delete one or more route distribution statements from a route distribution for a Dynamic Routing Gateway (DRG) in Oracle Cloud Infrastructure.

    1. Open the navigation menu  and select Networking. Under Customer connectivity, select Dynamic routing gateway.
    2. Under List Scope, select the compartment that contains the DRG with the route distribution statement for which you want to remove a statement.
      The page updates to display only the resources in that compartment. If you're not sure which compartment to use, contact an administrator. For more information, see Access Control.
    3. Select the name of the DRG.
    4. Under Resources, select either Import route distributions or Export route distributions.
    5. Select the name of the route distribution from which you want to remove a statement.
    6. Confirm the removal.
  • Use the network drg-route-distribution-statement remove command and required parameters to delete one or more route distribution statements from the specified route distribution:

    oci network drg-route-distribution-statement remove --route-distribution-id ocid --statement-ids [complex type] ... [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • Run the RemoveDrgRouteDistributionStatements operation to delete one or more route distribution statements from the specified route distribution.