查看 VLAN 连接和组

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

查看 VLAN 连接及其详细信息

控制台

  1. 在 Trusted Cloud 控制台中,前往 Cloud Interconnect VLAN 连接标签页。

    进入“VLAN 连接”

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

gcloud

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

    gcloud compute interconnects attachments list
    

    输出类似于以下内容:

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

    gcloud compute interconnects attachments describe my-attachment
    

    输出类似于以下内容:

    adminEnabled: true
    attachmentGroup: https://www.googleapis.com/compute/v1/projects/customer-project/global/interconnectAttachmentGroups/example-attachment-group
    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/example-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
    

查看 VLAN 连接组及其详细信息

控制台

  1. 在 Trusted Cloud 控制台中,前往 Cloud Interconnect VLAN 连接标签页。

    进入“VLAN 连接”

  2. 连接组字段中,点击连接组的名称以查看有关该组的更多详细信息。

gcloud

  1. 使用以下命令列出项目中的所有 VLAN 连接组:

    gcloud compute interconnects attachments groups list
    

    输出类似于以下内容:

    NAME                ATTACHMENTS             INTENDED_SLA             CONFIGURED_SLA
    attachment-group-1                          PRODUCTION_NON_CRITICAL  NO_SLA
    attachment-group-2  us-east4/attachment-1   PRODUCTION_NON_CRITICAL  PRODUCTION_NON_CRITICAL
                        us-east4/attachment-2
    attachment-group-3  us-east4/attachment-3   PRODUCTION_CRITICAL      PRODUCTION_CRITICAL
                        us-east4/attachment-4
                        us-west2/attachment-5
                        us-west2/attachment-6
    
  2. 如需详细了解特定 VLAN 连接组,请使用以下命令,并将 GROUP_NAME 替换为连接组的名称。

    gcloud compute interconnects attachments groups describe GROUP_NAME
    

    输出类似于以下内容:

    attachments:
      us-east4/attachment-1:
        attachment: https://www.googleapis.com/compute/v1/projects/my-project/regions/us-east4/interconnectAttachments/attachment-1
      us-east4/attachment-2:
        attachment: https://www.googleapis.com/compute/v1/projects/my-project/regions/us-east4/interconnectAttachments/attachment-2
    configured:
      availabilitySla:
        effectiveSla: PRODUCTION_NON_CRITICAL
    description: my attachment group
    intent:
      availabilitySla: PRODUCTION_NON_CRITICAL
    kind: compute#interconnectAttachmentGroup
    logicalStructure:
      regions:
      - metros:
        - facilities:
          - facility: '1'
            zones:
            - attachments:
              - https://www.googleapis.com/compute/v1/projects/my-project/regions/us-east4/interconnectAttachments/attachment-1
              zone: zone1
            - attachments:
              - https://www.googleapis.com/compute/v1/projects/my-project/regions/us-east4/interconnectAttachments/attachment-2
              zone: zone2
          metro: IAD
        region: us-east4
    name: attachment-group-2
    selfLink: https://www.googleapis.com/compute/v1/projects/my-project/global/interconnectAttachmentGroups/attachment-group-2
    

后续步骤