Getting a Subnet's Details

Get configuration details for a specific subnet in a virtual cloud network (VCN).

    1. Open the navigation menu, click Networking, and then click Virtual cloud networks.
    2. Click the name of the VCN that contains the subnet.

      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 parameters and values for CLI commands, see the CLI Command Reference.

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