Skip to content

Commit 92bc713

Browse files
authored
Update virtual-wan-site-to-site-packet-capture.md
1 parent 1f47b60 commit 92bc713

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

articles/virtual-wan/virtual-wan-site-to-site-packet-capture.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,16 @@ Start-AzVpnGatewayPacketCapture -ResourceGroupName $rg -Name "<name of the Gatew
7373
> Please note you can only run a packet capture on 5 VPN connections concurrently.
7474
7575

76-
Please run the following commands. The Name of the Site-to-site VPN Connections can be found by navigating to your Virtual Hub, clicking on VPN (Site-to-site) under Connectivity. Then, navigate to the VPN Site you want to perform the packet capture on and click on the three dots on the right. Click **Edit VPN Connection** in the menu that pops up.
76+
To find the name of your VPN Site connection, please use the following PowerShell command.
77+
78+
```azurepowershell-interactive
79+
$connections = Get-AzVpnConnection -ResourceGroupName $rg -ParentResourceName "<name of the Gateway"
80+
$connections
81+
$connections.name
82+
```
83+
In the Powershell block above, the local variable *connections* contains an array of all VPN sites connected to the Site-to-site VPN Gateway. Please find the entry corresponding to the VPN Site you wish to perform a packet capture on. Copy the *name* field and use it as the *-Name* parameter in the Start-AzVpnConnectionPacketCapture command below. Alternatively, you may view the names of all your connections by accessing *connections.name*.
84+
85+
To find the name of the links, please follow the steps below. Navigate to your Virtual Hub, click on VPN (Site-to-site) under Connectivity. Then, navigate to the VPN Site you want to perform the packet capture on and click on the three dots on the right. Click **Edit VPN Connection** in the menu that pops up.
7786

7887
:::image type="content" source="./media/virtual-wan-pcap-screenshots/sample-connection.png" alt-text="Image of how to find VPN connection names." lightbox="./media/virtual-wan-pcap-screenshots/sample-connection.png":::
7988

0 commit comments

Comments
 (0)