VLAN 연결을 일시적으로 사용 중지하여 패킷 전달을 중지할 수 있습니다. 이 기능은 장애 조치를 테스트하려는 경우 등에 유용합니다. 즉, 한 Dedicated Interconnect 연결을 사용 중지하면 중복 연결이 트래픽을 성공적으로 처리하는지 테스트할 수 있습니다.
일반적으로 장애 조치를 테스트한 후에 VLAN 연결을 사용 설정할 수 있습니다.
VLAN 연결에서 트래픽 드레이닝
BGP 종료
경계 경로 프로토콜(BGP) 세션을 사용 중지하여 VLAN 연결을 사용 중지하는 것이 좋습니다. 전체 VLAN 연결을 사용 중지하는 대신 BGP 세션만 사용 중지하면 패킷 손실이 방지됩니다. 이러한 구성 변경 후 트래픽이 완전히 이동하는 데 몇 분 정도 걸릴 수 있습니다. 자세한 내용은 BGP 세션 사용 중지를 참조하세요.
VLAN 연결 사용 중지
VLAN 연결을 더 빠르게 사용 중지해야 하거나 VLAN 연결을 통해 패킷이 하나도 전송되지 않도록 하려는 경우 전체 VLAN 연결을 사용 중지할 수 있습니다. 이 과정에서 패킷 손실이 발생할 수 있습니다. VLAN 연결을 사용 중지하려면 다음 단계를 따르세요.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-11(UTC)"],[],[],null,["# Disable or enable VLAN attachments\n\nYou can temporarily disable a VLAN attachment so that it stops forwarding\npackets. This can be useful, for example, for testing failover. Disable one\nDedicated Interconnect connection to test that the redundant connection\ncan successfully serve traffic.\n\nYou can enable VLAN attachments, typically after testing for failover.\n\nDrain traffic from a VLAN attachment\n------------------------------------\n\n### Shut down BGP\n\nWe recommend that you disable a VLAN attachment by disabling its Border Gateway\nProtocol (BGP) session. Disabling only the BGP session instead of disabling the\nentire VLAN attachment avoids packet loss. After making this configuration\nchange, it can take a few minutes for traffic to completely move away. For more\ninformation, see [Disable a BGP\nsession](/network-connectivity/docs/router/how-to/disabling-removing-bgp#disable_a_bgp_session).\n\n### Disable a VLAN attachment\n\nIf you need to disable your VLAN attachment more rapidly, or if you need to\nensure that zero packets are sent over your VLAN attachment, you can disable the\nentire VLAN attachment. This process can incur packet loss. To disable a VLAN\nattachment, do the following: \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. On the **VLAN attachments** tab, select a VLAN attachment to disable.\n\n3. On the **VLAN attachment details** page, click **Disable** . The\n attachment stops forwarding packets within a minute or two. To re-enable\n the attachment, click **Enable**.\n\n### gcloud\n\nTo disable an existing active attachment, use the `--no-admin-enabled`\nflag:\n\n\u003cbr /\u003e\n\n```\n gcloud compute interconnects attachments dedicated update my-attachment\n --region us-central1\n --no-admin-enabled\n \n```\n\n\u003cbr /\u003e\n\nThe attachment stops forwarding packets within a minute or two.\n\nTo enable the attachment, use the `--admin-enabled` flag.\n\nRestore traffic to a VLAN attachment\n------------------------------------\n\nTo restore traffic to your VLAN attachment, you must either enable its BGP\nsession or enable the VLAN attachment, depending on how you drained traffic\nfrom your VLAN attachment.\n\n### Enable BGP\n\nIf you disabled your VLAN attachment by disabling its BGP session,\nthen you must re-enable BGP to make your attachment work again.\n\nEnabling BGP takes a few minutes to take effect. For more information, see\n[Enable a BGP\nsession](/network-connectivity/docs/router/how-to/disabling-removing-bgp#enable_a_bgp_session).\n\n### Enable a VLAN attachment\n\nIf you shut down your VLAN attachment by disabling your VLAN attachment, then\nyou must enable your VLAN attachment to restore traffic to your attachment.\n\nDo the following: \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. On the **VLAN attachments** tab, select a VLAN attachment to enable.\n\n3. On the **VLAN attachment details** page, click **Enable**. The\n attachment starts forwarding packets within a minute or two.\n\n### gcloud\n\nTo enable an existing active attachment, use the `--admin-enabled`\nflag:\n\n\u003cbr /\u003e\n\n```\n gcloud compute interconnects attachments dedicated update my-attachment\n --region us-central1\n --admin-enabled\n \n```\n\n\u003cbr /\u003e\n\nThe attachment starts forwarding packets within a minute or two.\n\nWhat's next\n-----------\n\n- To create an Dedicated Interconnect connection, see the\n [Dedicated Interconnect provisioning overview](/network-connectivity/docs/interconnect/how-to/dedicated/provisioning-overview).\n\n- To learn more about Cloud Interconnect options, see the\n [Cloud Interconnect overview](/network-connectivity/docs/interconnect/concepts/overview).\n\n- To help you solve common issues that you might encounter when using\n Cloud Interconnect, see\n [Troubleshooting](/network-connectivity/docs/interconnect/support/troubleshooting)."]]