Skip to content

Commit 7233016

Browse files
committed
tweaks
1 parent 7907530 commit 7233016

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

articles/network-watcher/connection-troubleshoot-portal.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ In this article, you learn how to use the connection troubleshoot feature of Azu
4343

4444
- Azure Cloud Shell or Azure PowerShell.
4545

46-
The steps in this article run the Azure PowerShell cmdlets interactively in [Azure Cloud Shell](/azure/cloud-shell/overview). To run the commands in the Cloud Shell, select **Open Cloud Shell** at the upper-right corner of a code block. Select **Copy** to copy the code and then paste it into Cloud Shell to run it. You can also run the Cloud Shell from within the Azure portal.
46+
The steps in this article run the Azure PowerShell cmdlets interactively in [Azure Cloud Shell](/azure/cloud-shell/overview). To run the cmdlets in the Cloud Shell, select **Open Cloud Shell** at the upper-right corner of a code block. Select **Copy** to copy the code and then paste it into Cloud Shell to run it. You can also run the Cloud Shell from within the Azure portal.
4747

48-
You can also install Azure PowerShell locally to run the cmdlets. This article requires the Az PowerShell module. For more information, see [How to install Azure PowerShell](/powershell/azure/install-azure-powershell). To find the installed version, run `Get-InstalledModule -Name Az`. If you run PowerShell locally, sign in to Azure using the [Connect-AzAccount](/powershell/module/az.accounts/connect-azaccount) cmdlet.
48+
You can also install Azure PowerShell locally to run the cmdlets. This article requires the Az PowerShell module. For more information, see [How to install Azure PowerShell](/powershell/azure/install-azure-powershell). If you run PowerShell locally, sign in to Azure using the [Connect-AzAccount](/powershell/module/az.accounts/connect-azaccount) cmdlet.
4949

5050
# [**Azure CLI**](#tab/cli)
5151

@@ -68,6 +68,7 @@ In this article, you learn how to use the connection troubleshoot feature of Azu
6868
---
6969

7070
> [!NOTE]
71+
> The Network Watcher agent VM extension is required on the source virtual machine to run the connection troubleshoot *connectivity test*. The extension is automatically installed on the virtual machine when using the Azure portal. If you don't have the extension installed, you can install it manually:
7172
> - To install the extension on a Windows virtual machine, see [Network Watcher agent VM extension for Windows](network-watcher-agent-windows.md).
7273
> - To install the extension on a Linux virtual machine, see [Network Watcher agent VM extension for Linux](network-watcher-agent-linux.md).
7374
> - To update an already installed extension, see [Update Network Watcher agent VM extension to the latest version](network-watcher-agent-update.md).
@@ -157,7 +158,7 @@ In this section, you test the remote desktop port (RDP) connectivity from one vi
157158

158159
# [**PowerShell**](#tab/powershell)
159160

160-
Use [Test-AzNetworkWatcherConnectivity](/powershell/module/az.network/test-aznetworkwatcherconnectivity) cmdlet to run connection troubleshoot diagnostic tests to test the connectivity to a virtual machine over port 3389:
161+
Use [Test-AzNetworkWatcherConnectivity](/powershell/module/az.network/test-aznetworkwatcherconnectivity) cmdlet to run connection troubleshoot to test the connectivity to a virtual machine over port 3389:
161162

162163
```azurepowershell-interactive
163164
# Test connectivity between two virtual machines that are in the same resource group over port 3389.
@@ -166,7 +167,7 @@ Test-AzNetworkWatcherConnectivity -Location 'eastus' -SourceId '/subscriptions/a
166167

167168
- If the two virtual machines are communicating with no issues, you see the following results:
168169

169-
```output
170+
```json
170171
Hops : {aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb, bbbbbbbb-1111-2222-3333-cccccccccccc}
171172
ConnectionStatus : Reachable
172173
AvgLatencyInMs : 1
@@ -203,7 +204,7 @@ Test-AzNetworkWatcherConnectivity -Location 'eastus' -SourceId '/subscriptions/a
203204

204205
- If the destination virtual machine has a network security group that's denying incoming RDP connections, you see the following results:
205206

206-
```output
207+
```json
207208
Hops : {aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb, bbbbbbbb-1111-2222-3333-cccccccccccc}
208209
ConnectionStatus : Unreachable
209210
AvgLatencyInMs :
@@ -261,7 +262,7 @@ Test-AzNetworkWatcherConnectivity -Location 'eastus' -SourceId '/subscriptions/a
261262

262263
- If the source virtual machine has a network security group that's denying RDP connections to the destination, you see the following results:
263264

264-
```output
265+
```json
265266
Hops : {aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb, bbbbbbbb-1111-2222-3333-cccccccccccc}
266267
ConnectionStatus : Unreachable
267268
AvgLatencyInMs :
@@ -319,7 +320,7 @@ Test-AzNetworkWatcherConnectivity -Location 'eastus' -SourceId '/subscriptions/a
319320

320321
- If the operating system on the destination virtual machine doesn't accept incoming connections on port 3389, you see the following results:
321322

322-
```output
323+
```json
323324
Hops : {aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb, bbbbbbbb-1111-2222-3333-cccccccccccc}
324325
ConnectionStatus : Unreachable
325326
AvgLatencyInMs :
@@ -740,7 +741,7 @@ Test-AzNetworkWatcherConnectivity -Location 'eastus' -SourceId '/subscriptions/a
740741
741742
- If `www.bing.com` is reachable from the source virtual machine, you see the following results:
742743

743-
```output
744+
```json
744745
Hops : {aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb, bbbbbbbb-1111-2222-3333-cccccccccccc}
745746
ConnectionStatus : Reachable
746747
AvgLatencyInMs : 1
@@ -775,7 +776,7 @@ Test-AzNetworkWatcherConnectivity -Location 'eastus' -SourceId '/subscriptions/a
775776

776777
- If `www.bing.com` is unreachable from the source virtual machine due to a security rule, you see the following results:
777778

778-
```output
779+
```json
779780
Hops : {aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb, bbbbbbbb-1111-2222-3333-cccccccccccc}
780781
ConnectionStatus : Unreachable
781782
AvgLatencyInMs :
@@ -1039,7 +1040,7 @@ Test-AzNetworkWatcherConnectivity -Location 'eastus' -SourceId '/subscriptions/a
10391040
```
10401041

10411042
- If the IP address is reachable, you see the following results:
1042-
```output
1043+
```json
10431044
Hops : {aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb, bbbbbbbb-1111-2222-3333-cccccccccccc}
10441045
ConnectionStatus : Reachable
10451046
AvgLatencyInMs : 1
@@ -1074,7 +1075,7 @@ Test-AzNetworkWatcherConnectivity -Location 'eastus' -SourceId '/subscriptions/a
10741075

10751076
- If the IP address is unreachable because the destination virtual machine isn't running, you see the following results:
10761077

1077-
```output
1078+
```json
10781079
Hops : {aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb, bbbbbbbb-1111-2222-3333-cccccccccccc}
10791080
ConnectionStatus : Unreachable
10801081
AvgLatencyInMs :
@@ -1113,7 +1114,7 @@ Test-AzNetworkWatcherConnectivity -Location 'eastus' -SourceId '/subscriptions/a
11131114

11141115
- If there's no route to the IP address in the routing table of the source virtual machine (for example, the IP address isn't in the address space of the VM's virtual network or its peered virtual networks), you see the following results:
11151116

1116-
```output
1117+
```json
11171118
Hops : {aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb, bbbbbbbb-1111-2222-3333-cccccccccccc}
11181119
ConnectionStatus : Unreachable
11191120
AvgLatencyInMs :
@@ -1407,7 +1408,7 @@ az network watcher test-connectivity --resource-group 'myResourceGroup' --source
14071408

14081409
---
14091410

1410-
## Next step
1411+
## Related content
14111412

1412-
> [!div class="nextstepaction"]
1413-
> [Manage packet captures](packet-capture-vm-portal.md)
1413+
- [What is Azure Network Watcher?](network-watcher-overview.md)
1414+
- [Connection troubleshoot](connection-troubleshoot-overview.md)

0 commit comments

Comments
 (0)