[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-05 (世界標準時間)。"],[],[],null,["# Disconnect networks\n\nTo remove a connection between a Virtual Private Cloud (VPC) network and\na Cross-Cloud Interconnect connection, delete the related VLAN\nattachment\n(also known as an `interconnectAttachment`). After you delete the attachment,\nno traffic can travel between the VPC network and your\nremote cloud network. Also, Border Gateway Protocol (BGP) sessions that use\nthe attachment go down.\n\nBilling for the VLAN attachment stops when you delete it. However, you're still\nbilled for the Cross-Cloud Interconnect connection, even if no\ntraffic is passing through it.\n\n#### Permissions required for this task\n\nTo perform this task, you must have been granted the following permissions\n*or* the following Identity and Access Management (IAM) roles.\n\n**Permissions**\n\n- `compute.interconnectAttachments.delete`\n\n**Roles**\n\n- `roles/owner`\n- `roles/editor`\n- `roles/compute.networkAdmin` \n\n### Console\n\n1. In the Google Cloud console, go to the Cloud Interconnect **Physical\n connections** tab.\n\n [Go to Physical connections](https://console.cloud.google.com/hybrid/interconnects/list?tab=interconnects)\n2. For the Cloud Interconnect connection that you want to configure, click\n **Configure**.\n\n3. In the **Router connections** section, select the VLAN attachment to\n delete.\n\n4. Select the options button, and then click **Delete**.\n\n5. Click **Delete** to confirm that you want to delete the VLAN\n attachment.\n\n### gcloud\n\nUse the\n[`gcloud compute interconnects attachments delete`\ncommand](/sdk/gcloud/reference/compute/interconnects/attachments/delete): \n\n```\ngcloud compute interconnects attachments delete ATTACHMENT_NAME\n```\n\nReplace \u003cvar translate=\"no\"\u003eATTACHMENT_NAME\u003c/var\u003e with the name of your VLAN\nattachment.\n\nWhat's next\n-----------\n\n- To learn more about Cross-Cloud Interconnect, see the\n [Cross-Cloud Interconnect overview](/network-connectivity/docs/interconnect/concepts/cci-overview).\n\n- To learn about common issues that you might encounter when using\n Cross-Cloud Interconnect, see\n [Troubleshooting](/network-connectivity/docs/interconnect/support/troubleshooting#cci)."]]