You can temporarily disable a VLAN attachment 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.
- Go to the VLAN attachments tab in the Google Cloud Console.
Go to VLAN attachments tab
- Select a VLAN attachment to disable.
- From the VLAN attachment details page, click Disable. The attachment stops forwarding packets within a minute or two. You can re-enable the attachment by clicking Enable.
For an existing, active attachment, update it by using the
--no-admin-enabledflag to disable it.
gcloud compute interconnects attachments partner 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