Share via


인접 그룹 구성 개요

인접 그룹을 사용하면 단일 논리 리소스에서 엔드포인트(IPv4 또는 IPv6)를 그룹화할 수 있습니다. 인접 그룹을 사용하여 여러 프로브 엔드포인트에서 부하 분산 필터링된 트래픽을 보낼 수 있습니다. 여러 네트워크TAP 및 네트워크 탭 규칙에서 동일한 인접 그룹을 사용할 수 있습니다.

인접 그룹에 대한 매개 변수

매개 변수 설명 Required
resource-group 인접 그룹을 포함하는 리소스 그룹입니다. ResourceGroupName True
resource-name 인접 그룹의 이름입니다. example-Neighbor True
location 인접 그룹을 포함하는 Azure 지역입니다. eastus True
destination 트래픽을 전달할 Ipv4 또는 Ipv6 대상 목록입니다. 10.10.10.10 True

인접 그룹 만들기

다음 명령은 인접 그룹을 만듭니다.

az networkfabric neighborgroup create \
    --resource-group "example-rg" \
    --location "westus3" \
    --resource-name "example-neighborgroup" \
    --destination "{ipv4Addresses:['10.10.10.10']}"

예상 출력:

{
  "properties": {
    "networkTapIds": [
    ],
    "networkTapRuleIds": [
    ],
    "destination": {
      "ipv4Addresses": [
        "10.10.10.10",
      ]
    },
    "provisioningState": "Succeeded",
    "annotation": "annotation"
  },
  "tags": {
    "keyID": "KeyValue"
  },
  "location": "eastus",
  "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup",
  "name": "example-neighborGroup",
  "type": "microsoft.managednetworkfabric/neighborGroups",
  "systemData": {
    "createdBy": "user@mail.com",
    "createdByType": "User",
    "createdAt": "2023-05-23T05:49:59.193Z",
    "lastModifiedBy": "email@address.com",
    "lastModifiedByType": "User",
    "lastModifiedAt": "2023-05-23T05:49:59.194Z"
  }
}

인접 그룹 표시

이 명령은 IP 확장 커뮤니티 리소스를 표시합니다.

az networkfabric neighborgroup show \
    --resource-group "example-rg" \
    --resource-name "example-neighborgroup"

예상 출력:

{
  "properties": {
    "networkTapIds": [
    ],
    "networkTapRuleIds": [
    ],
    "destination": {
      "ipv4Addresses": [
        "10.10.10.10",
      ]
    },
    "provisioningState": "Succeeded",
    "annotation": "annotation"
  },
  "tags": {
    "keyID": "KeyValue"
  },
  "location": "eastus",
  "id": "/subscriptions/subscriptionId/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/neighborGroups/example-neighborGroup",
  "name": "example-neighborGroup",
  "type": "microsoft.managednetworkfabric/neighborGroups",
  "systemData": {
    "createdBy": "user@mail.com",
    "createdByType": "User",
    "createdAt": "2023-05-23T05:49:59.193Z",
    "lastModifiedBy": "email@address.com",
    "lastModifiedByType": "User",
    "lastModifiedAt": "2023-05-23T05:49:59.194Z"
  }
}