Getting a subnet's details

Use one of the methods below to get configuration details for a specific subnet.

    1. Open the navigation menu, click Networking, and then click Virtual cloud networks.
    2. Click the name of the VCN you're interested in.

      The subnets in this VCN are listed in a table below the VCN details.

    3. Click the name of the subnet you're interested in.
  • Use the network subnet get command and required parameters to get configuration details for a specific subnet:

    oci network subnet get --subnet-id ocid ... [OPTIONS]

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

  • Run the GetSubnet operation to get configuration details for a specific subnet.