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

1. In the Google Cloud console, go to the **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

Use the
[`gcloud compute interconnects attachments dedicated update` command](https://docs.cloud.google.com/sdk/gcloud/reference/compute/interconnects/attachments/dedicated/update)
with the `--no-admin-enabled` flag:

```
gcloud compute interconnects attachments dedicated update ATTACHMENT_NAME \
    --region REGION \
    --no-admin-enabled
```

Replace the following:

- `ATTACHMENT_NAME`: the name of your VLAN attachment
- `REGION`: the region where the attachment is located

The attachment stops forwarding packets within a minute or two.

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

## What's next

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

- To learn about common issues that you might encounter when using
  Cross-Cloud Interconnect, see
  [Troubleshooting](https://docs.cloud.google.com/network-connectivity/docs/interconnect/support/troubleshooting#cci).