Stay organized with collections
Save and categorize content based on your preferences.
You can temporarily disable a VLAN attachment for a Partner Interconnect
connection so that it stops forwarding packets. This can be useful, for example,
for testing failover.
Disable one connection to test that the redundant connection can successfully
serve traffic.
Console
In the Google Cloud console, go to the Cloud Interconnect VLAN
attachments tab.
On the VLAN attachment details page, click Disable. The attachment
stops forwarding packets within a minute or two. To re-enable the
attachment, click Enable.
gcloud
To disable an existing active attachment, use the --no-admin-enabled
flag:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[],[],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)."]]