Getting a VCN's Details

View the settings for a particular virtual cloud network (VCN).

    1. Open the navigation menu, click Networking, and then click Virtual cloud networks.
    2. Click the name of the VCN you're interested in. You might need to change the compartment to find the VCN that you want.
  • Use the network vcn get command and required parameters to get configuration details for a VCN:

    oci network vcn get --vcn-id  ocid [OPTIONS]

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

  • Run the GetVcn operation to get configuration details about a VCN.