停用 VLAN 连接
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
您可以临时为某个合作伙伴互连连接停用 VLAN 连接,令其停止转发数据包。在多种情景下,这种做法都非常有用,比如在测试故障切换时。
此时您可以停用一个连接,以测试冗余连接是否可以成功地处理流量。
控制台
在 Google Cloud 控制台中,进入 Cloud Interconnect VLAN 连接标签页。
进入“VLAN 连接”
选择要停用的 VLAN 连接。
在 VLAN 连接详情页面上,点击停用。该连接会在一两分钟内停止转发数据包。如需重新启用连接,请点击启用。
gcloud
如需停用现有活跃连接,请使用 --no-admin-enabled
标志:
gcloud compute interconnects attachments partner update my-attachment
--region us-central1
--no-admin-enabled
该连接会在一两分钟内停止转发数据包。
如需启用连接,请使用 --admin-enabled
标志。
后续步骤
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-12。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]