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

1. In the Google Cloud console, go to the Cloud Interconnect **VLAN
   attachments** tab.

   [Go to VLAN attachments](https://console.cloud.google.com/hybrid/interconnects/list?tab=attachments)
2. Select a VLAN attachment to disable.

3. 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

1. To disable an existing active attachment, use the `--no-admin-enabled`
   flag:

   ```
   gcloud compute interconnects attachments partner update my-attachment
       --region=REGION
       --no-admin-enabled
   ```

   Replace `REGION` with the region that your VLAN
   attachment is located in.

   The attachment stops forwarding packets within a minute or two.

   To enable the attachment, use the `--admin-enabled` flag.

## What's next

- To create a Partner Interconnect connection, see the
  [Partner Interconnect provisioning overview](https://docs.cloud.google.com/network-connectivity/docs/interconnect/how-to/partner/provisioning-overview).

- To learn more about Cloud Interconnect options, see the
  [Cloud Interconnect overview](https://docs.cloud.google.com/network-connectivity/docs/interconnect/concepts/overview).

- To help you solve common issues that you might encounter when using
  Partner Interconnect, see
  [Troubleshooting](https://docs.cloud.google.com/network-connectivity/docs/interconnect/support/troubleshooting#partner).