Viewing a Route Table

On Compute Cloud@Customer, you can list the route tables in the specified VCN.

    1. In the Compute Cloud@Customer Console navigation menu, select Networking, then select Virtual Cloud Networks.

    2. At the top of the page, select the compartment that contains the VCN in which you want to create a subnet.
    3. Select the name of the VCN for which you want to view route tables.

      The VCN details page is displayed.

    4. Under Resources, select Route Tables.

      The list of route tables is displayed.

    5. Select the name of the route table to view its route rules.

  • Use the oci network route-table list command and required parameters to list the route tables in the specified VCN and specified compartment. If the VCN ID is not provided, then the list includes the route tables from all VCNs in the specified compartment. The response includes the default route table that automatically comes with each VCN in the specified compartment, plus any route tables you’ve created.

    oci network route-table list --compartment-id ocid1.compartment.unique_ID --vcn-id ocid1.vcn.unique_ID [OPTIONS]

    For a complete list of CLI commands, flags, and options, see the Command Line Reference.

  • Use the ListRoutTables operation to list the route tables in the specified VCN.

    For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.