[[["容易理解","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-08 (世界標準時間)。"],[],[],null,["# Disable VLAN attachments\n\nYou can temporarily disable a VLAN attachment for a Partner Interconnect\nconnection so that it stops forwarding packets. This can be useful, for example,\nfor testing failover.\n\nDisable one connection to test that the redundant connection can successfully\nserve traffic. \n\n### Console\n\n1. In the Google Cloud console, go to the Cloud Interconnect **VLAN\n attachments** tab.\n\n [Go to VLAN attachments](https://console.cloud.google.com/hybrid/interconnects/list?tab=attachments)\n2. Select a VLAN attachment to disable.\n\n3. On the **VLAN attachment details** page, click **Disable** . The attachment\n stops forwarding packets within a minute or two. To re-enable the\n attachment, click **Enable**.\n\n### gcloud\n\n1. To disable an existing active attachment, use the `--no-admin-enabled`\n flag:\n\n ```\n gcloud compute interconnects attachments partner update my-attachment\n --region=REGION\n --no-admin-enabled\n ```\n\n Replace \u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e with the region that your VLAN\n attachment is located in.\n\n The attachment stops forwarding packets within a minute or two.\n\n To enable the attachment, use the `--admin-enabled` flag.\n\nWhat's next\n-----------\n\n- To create a Partner Interconnect connection, see the\n [Partner Interconnect provisioning overview](/network-connectivity/docs/interconnect/how-to/partner/provisioning-overview).\n\n- To learn more about Cloud Interconnect options, see the\n [Cloud Interconnect overview](/network-connectivity/docs/interconnect/concepts/overview).\n\n- To help you solve common issues that you might encounter when using\n Partner Interconnect, see\n [Troubleshooting](/network-connectivity/docs/interconnect/support/troubleshooting#partner)."]]