Listing DRGs

List the dynamic routing gateways (DRGs) in a compartment.

    1. Open the navigation menu and click Networking. Under Customer connectivity, click Dynamic routing gateway.
    2. Under List Scope, select a compartment that you have permission to work in.
      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.
  • Use the network drg list command and required parameters to list the DRGs in a compartment:

    oci network drg list --compartment-id  ocid  [OPTIONS]

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

  • Run the ListDrgs operation to list the DRGs in a compartment.