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. On the Dynamic Routing Gateways list page, select the DRG that you want to work with. If you need help finding the list page or the DRG, see Listing DRGs.
    2. On the details page, perform one of the following actions depending on the option that you see:
      • On the Routing tab, go to either the Import route distributions or Export route distributions sections. Select the route distribution with a statement you want to delete, then select the Statements tab.
      • Under Resources, select either Import route distributions or Export route distributions. Select the route distribution with a statement you want to delete.

    3. Select the statement or statements you want to delete, then depending on the options that you see:
      • Select Actions, then Remove.
      • Select Remove.
    4. 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.