Listing Route Distribution Statements

List the statements for an import or export route distribution for a dynamic routing gateway (DRG) in Oracle Cloud Infrastructure.

An import route distribution statement specifies how route advertisements entering the DRG through referenced attachments are inserted into the DRG route table. An export route distribution statement describes how routes are advertised to attachments from their assigned DRG route table.

    1. Open the navigation menu and click Networking. Under Customer connectivity, click Dynamic routing gateway.
    2. Under List Scope, select the compartment that contains the DRG with the route distribution for which you want to list statements.
      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. Click the name of the DRG.
    4. Under Resources, click either Import route distributions or Export route distributions.
    5. Click on the name of the route distribution for which you want to list statements.

      On the route distribution details page, the statements are listed in the order in which they're evaluated.

  • Use the network drg-route-distribution-statement list command and required parameters to list the statements for a specified import or export route distribution:

    oci network drg-route-distribution-statement list --route-distribution-id OCID ... [OPTIONS]

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

  • Run the ListDrgRouteDistributionStatements operation to list the statements for a specified import or export route distribution.