You can temporarily disable a VLAN attachment so that it stops forwarding packets. This can be useful, for example, for testing failover. Disable one Dedicated Interconnect connection to test that the redundant connection can successfully serve traffic.
Console
In the Google Cloud console, go to the VLAN attachments tab.
Select a VLAN attachment to disable.
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:
gcloud compute interconnects attachments dedicated update my-attachment --region us-central1 --no-admin-enabled
The attachment stops forwarding packets within a minute or two.
To enable the attachment, use the --admin-enabled
flag.
What's next
To create an Interconnect connection, see the Dedicated Interconnect provisioning overview.
To learn more about Cloud Interconnect options, see the Cloud Interconnect overview.
To help you solve common issues that you might encounter when using Cloud Interconnect, see Troubleshooting.