查看 VLAN 连接

您可以查看项目中所有 VLAN 连接的列表以及每个连接的详细信息。例如,您可以查看某连接的名称,它是专用互连还是合作伙伴互连,及其关联的 Cloud Router 路由器。 您还可以查看其 Dataplane 版本。

查看 VLAN 连接及其详细信息

控制台

  1. 在 Google Cloud 控制台中,进入 Cloud Interconnect VLAN 连接标签页。

    进入“VLAN 连接”

  2. 选择 VLAN 连接,以查看其详细信息。

gcloud

  1. 列出项目中的所有 VLAN 连接:

    gcloud compute interconnects attachments list
    

    输出:

    NAME: my-attachment
    REGION: us-east1
    TYPE: PARTNER
    INTERCONNECT: some-partner-interconnect
    ROUTER: my-router
    
    NAME: my-second-attachment
    REGION: us-west1
    TYPE: DEDICATED
    INTERCONNECT: some-dedicated-interconnect
    ROUTER: my-second-router
    ...
    
  2. 描述相应 VLAN 连接以查看关于它的详细信息。

    gcloud compute interconnects attachments describe my-attachment
    

    输出:

    adminEnabled: true
    bandwidth: BPS_10G
    cloudRouterIpAddress: 169.254.194.169/29
    creationTimestamp: '2022-03-04T10:08:51.610-08:00'
    customerRouterIpAddress: 169.254.194.170/29
    dataplaneVersion: 2
    id: '8652605636960316252'
    interconnect: https://www.googleapis.com/compute/v1/projects/customer-project/global/interconnects/some-dedicated-interconnect
    kind: compute#interconnectAttachment
    mtu: 1460
    name: my-second-attachment
    operationalStatus: OS_ACTIVE
    privateInterconnectInfo:
      tag8021q: 1101
    region: https://www.googleapis.com/compute/v1/projects/customer-project/regions/us-west1
    router: https://www.googleapis.com/compute/v1/projects/customer-project/regions/us-west1/routers/my-second-router
    selfLink: https://www.googleapis.com/compute/v1/projects/customer-project/regions/us-west1/interconnectAttachments/my-second-attachment
    state: ACTIVE
    type: DEDICATED
    vlanTag8021q: 1101
    

后续步骤