title | description | ms.topic | ms.custom | ms.service | ms.date |
---|---|---|---|---|---|
Configure port mirroring for Azure VMware Solution |
Learn how to configure port mirroring to monitor network traffic that involves forwarding a copy of each packet from one network switch port to another. |
how-to |
contperf-fy22q1 |
azure-vmware |
04/11/2022 |
After deploying Azure VMware Solution, you can configure port mirroring from the Azure portal. Port mirroring places a protocol analyzer on the port that receives the mirrored data. It analyzes traffic from a source, a virtual machine (VM), or a group of VMs, and then sent to a defined destination.
In this how-to, you'll configure port mirroring to monitor network traffic, which involves forwarding a copy of each packet from one network switch port to another.
An Azure VMware Solution private cloud with access to the vCenter Server and NSX-T Manager interfaces. For more information, see the Configure networking tutorial.
You'll create the source and destination VMs or VM groups. The source group has a single VM or multiple VMs where the traffic is mirrored.
-
In your Azure VMware Solution private cloud, under Workload Networking, select Port mirroring > VM groups > Add.
:::image type="content" source="media/networking/add-port-mirroring-vm-groups.png" alt-text="Screenshot showing how to create a VM group for port mirroring.":::
-
Provide a name for the new VM group, select VMs from the list, and then OK.
-
Repeat these steps to create the destination VM group.
[!NOTE] Before creating a port mirroring profile, make sure that you've created both the source and destination VM groups.
You'll create a port mirroring profile that defines the traffic direction for the source and destination VM groups.
-
Select Port mirroring > Port mirroring > Add and then provide:
:::image type="content" source="media/networking/add-port-mirroring-profile.png" alt-text="Screenshot showing the information required for the port mirroring profile.":::
-
Port mirroring name - Descriptive name for the profile.
-
Direction - Select from Ingress, Egress, or Bi-directional.
-
Source - Select the source VM group.
-
Destination - Select the destination VM group.
-
Description - Enter a description for the port mirroring.
-
-
Select OK to complete the profile.
The profile and VM groups are visible in the Azure VMware Solution console.