查看 VLAN 連結和群組

您可以查看專案中所有 VLAN 連結的清單,以及有關每一個 VLAN 連結的詳細資料。例如,您可以查看連結的名稱 (無論其為專屬互連網路或合作夥伴互連網路的連結),以及其相關聯的 Cloud Router。您也可以查看資料平面版本。

查看 VLAN 連結及其詳細資料

主控台

  1. 前往 Google Cloud 控制台的 Cloud Interconnect「VLAN attachments」(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. 前往 Google Cloud 控制台的 Cloud Interconnect「VLAN attachments」(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
    

後續步驟