VLAN 연결 보기

프로젝트에 포함된 모든 VLAN 연결의 목록과 각 VLAN 연결에 대한 세부정보를 볼 수 있습니다. 예를 들어 연결 이름, Dedicated Interconnect 또는 Partner Interconnect 연결 여부, 연결된 Cloud Router를 볼 수 있습니다.

Console

  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 연결을 기술하여 VLAN에 대한 추가 정보를 확인합니다.

    gcloud compute interconnects attachments describe NAME
    

    NAME을 VLAN 연결의 이름으로 바꿉니다.

    IPv4 VLAN 연결의 경우 출력은 다음과 비슷합니다.

    adminEnabled: false
    edgeAvailabilityDomain: AVAILABILITY_DOMAIN_1
    bandwidth: BPS_1G
    cloudRouterIpAddress: 169.254.67.201/29
    creationTimestamp: '2017-12-01T08:29:09.886-08:00'
    customerRouterIpAddress: 169.254.67.202/29
    id: '7976913826166357434'
    kind: compute#interconnectAttachment
    labelFingerprint: 42WmSpB8rSM=
    name: NAME
    pairingKey: 7e51371e-72a3-40b5-b844-2e3efefaee59/us-central1/2
    partnerMetadata:
      interconnectName: New York (2)
      partnerName: My Service Provider Inc
      portalUrl: https://service-provider-portal.com
    region: https://www.googleapis.com/compute/v1/projects/customer-project/regions/us-central1
    router: https://www.googleapis.com/compute/v1/projects/customer-project/regions/us-central1/routers/my-router
    selfLink: https://www.googleapis.com/compute/v1/projects/customer-project/regions/us-central1/interconnectAttachments/NAME
    stackType: IPV4_ONLY
    state: PENDING_CUSTOMER
    type: PARTNER
    vlanTag8021q: 1000
    

    이중 스택 IPv4 및 IPv6 VLAN 연결의 경우 출력은 다음과 비슷합니다.

    adminEnabled: true
    edgeAvailabilityDomain: AVAILABILITY_DOMAIN_1
    bandwidth: BPS_1G
    cloudRouterIpAddress: 169.254.67.201/29
    cloudRouterIpv6Address: 2600:2d00:0:1::1/125
    creationTimestamp: '2017-12-01T08:31:11.580-08:00'
    customerRouterIpAddress: 169.254.67.202/29
    customerRouterIpv6Address: 2600:2d00:0:1::2/125
    description: Interconnect for Customer 1
    id: '7193021941765913888'
    interconnect: https://www.googleapis.com/compute/alpha/projects/partner-project/global/interconnects/lga-2
    kind: compute#interconnectAttachment
    labelFingerprint: 42WmSpB8rSM=
    name: partner-attachment
    partnerMetadata:
      interconnectName: New York (2)
      partnerName: Partner Inc
      portalUrl: https://partner-portal.com
    region: https://www.googleapis.com/compute/alpha/projects/partner-project/regions/us-central1
    selfLink: https://www.googleapis.com/compute/alpha/projects/partner-project/regions/us-central1/interconnectAttachments/customer-attachment
    stackType: IPV4_IPV6
    state: ACTIVE
    type: PARTNER
    vlanTag8021q: 1000
    

연결의 데이터 영역 버전 확인

VLAN 연결을 만든 후에는 연결의 Dataplane 버전을 확인할 수 있습니다.

Google Cloud CLI 및 Compute Engine API만 사용하여 VLAN 연결의 데이터 영역 버전을 확인할 수 있습니다. Google Cloud 콘솔에는 연결의 데이터 영역 버전이 표시되지 않습니다.

양방향 전송 감지(BFD)와 같은 특정 기능을 사용 설정하기 전에 연결이 Dataplane v2를 사용하는지 확인해야 할 수 있습니다.

gcloud

연결의 Dataplane 버전을 확인하려면 다음 명령어를 실행합니다.

gcloud compute interconnects attachments describe ATTACHMENT_NAME

ATTACHMENT_NAME을 확인할 연결의 이름으로 바꿉니다.

출력에서 값이 2dataplaneVersion 필드를 찾습니다.

dataplaneVersion 필드가 출력에 표시되지 않으면 VLAN 연결에 버전 1이 사용되는 것입니다.

다음 예시 출력은 Dataplane v2를 사용하는 VLAN 연결을 보여줍니다.

    adminEnabled: false
    edgeAvailabilityDomain: AVAILABILITY_DOMAIN_1
    bandwidth: BPS_1G
    cloudRouterIpAddress: 169.254.67.201/29
    creationTimestamp: '2017-12-01T08:29:09.886-08:00'
    customerRouterIpAddress: 169.254.67.202/29
    dataplaneVersion: 2
    id: '7976913826166357434'
    kind: compute#interconnectAttachment
    labelFingerprint: 42WmSpB8rSM=
    name: my-attachment
    pairingKey: 7e51371e-72a3-40b5-b844-2e3efefaee59/us-central1/2
    partnerMetadata:
      interconnectName: New York (2)
      partnerName: My Service Provider Inc
      portalUrl: https://service-provider-portal.com
    region: https://www.googleapis.com/compute/v1/projects/customer-project/regions/us-central1
    router: https://www.googleapis.com/compute/v1/projects/customer-project/regions/us-central1/routers/my-router
    selfLink: https://www.googleapis.com/compute/v1/projects/customer-project/regions/us-central1/interconnectAttachments/ATTACHMENT_NAME
    state: PENDING_CUSTOMER
    type: PARTNER
    vlanTag8021q: 1000
    

API

interconnectAttachments.get 메서드를 사용하여 dataplaneVersion 필드 값을 가져옵니다.

GET https://compute.googleapis.com/compute/v1/projects/PROJECT_ID/regions/REGION/interconnectAttachments/ATTACHMENT_NAME

다음을 바꿉니다.

  • PROJECT_ID: VLAN 연결이 포함된 프로젝트입니다.
  • REGION: VLAN 연결이 있는 리전
  • ATTACHMENT_NAME: VLAN 연결의 이름입니다.

출력에서 값이 2인 dataplaneVersion 필드를 찾습니다.

dataplaneVersion 필드가 출력에 표시되지 않으면 VLAN 연결에 버전 1이 사용되는 것입니다.

다음 단계