Stay organized with collections
Save and categorize content based on your preferences.
You can temporarily disable a VLAN attachment so that it stops forwarding
packets. Disabling an attachment can be useful if you want to test failover.
To test that a redundant connection can successfully serve traffic, disable
the primary Cross-Cloud Interconnect connection.
Console
In the Google Cloud console, go to the 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.
[[["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 so that it stops forwarding\npackets. Disabling an attachment can be useful if you want to test failover.\nTo test that a redundant connection can successfully serve traffic, disable\nthe primary Cross-Cloud Interconnect connection. \n\n### Console\n\n1. In the Google Cloud console, go to the **VLAN 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\nUse the\n[`gcloud compute interconnects attachments dedicated update` command](/sdk/gcloud/reference/compute/interconnects/attachments/dedicated/update)\nwith the `--no-admin-enabled` flag: \n\n```\ngcloud compute interconnects attachments dedicated update ATTACHMENT_NAME \\\n --region REGION \\\n --no-admin-enabled\n```\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eATTACHMENT_NAME\u003c/var\u003e: the name of your VLAN attachment\n- \u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e: the region where the attachment is located\n\nThe attachment stops forwarding packets within a minute or two.\n\nTo enable the attachment, use the `--admin-enabled` flag.\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)."]]