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 command-name command and required parameters to get configuration details for a VCN:

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

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

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