Skip to content

Commit f91f1da

Browse files
Merge pull request #289444 from halkazwini/nw-route-cli
Freshness: Diagnose a virtual machine network routing problem - Azure CLI
2 parents 8e1cfa2 + 911e060 commit f91f1da

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

articles/network-watcher/diagnose-vm-network-routing-problem-cli.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,28 @@ description: In this article, you learn how to use Azure CLI to diagnose a virtu
55
author: halkazwini
66
ms.service: azure-network-watcher
77
ms.topic: how-to
8-
ms.date: 03/18/2022
8+
ms.date: 10/29/2024
99
ms.author: halkazwini
1010
ms.custom: devx-track-azurecli
11+
1112
# Customer intent: I need to diagnose virtual machine (VM) network routing problem that prevents communication to different destinations.
1213
---
1314

14-
# Diagnose a virtual machine network routing problem - Azure CLI
15+
# Diagnose a virtual machine network routing problem using the Azure CLI
16+
17+
In this article, you learn how to use Azure Network Watcher [next hop](network-watcher-next-hop-overview.md) tool to troubleshoot and diagnose a VM routing problem that's preventing it from correctly communicating with other resources.
1518

16-
In this article, you deploy a virtual machine (VM), and then check communications to an IP address and URL. You determine the cause of a communication failure and how you can resolve it.
19+
## Prerequisites
1720

18-
[!INCLUDE [quickstarts-free-trial-note](~/reusable-content/ce-skilling/azure/includes/quickstarts-free-trial-note.md)]
21+
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
1922

20-
[!INCLUDE [azure-cli-prepare-your-environment.md](~/reusable-content/azure-cli/azure-cli-prepare-your-environment.md)]
23+
- Azure Cloud Shell or Azure CLI.
2124

22-
- This article requires version 2.0 or later of the Azure CLI. If using Azure Cloud Shell, the latest version is already installed.
25+
The steps in this article run the Azure CLI commands 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 paste it into Cloud Shell to run it. You can also run the Cloud Shell from within the Azure portal.
2326

24-
- The Azure CLI commands in this article are formatted to run in a Bash shell.
27+
You can also [install Azure CLI locally](/cli/azure/install-azure-cli) to run the commands. This article requires the Azure CLI version 2.0 or later. Run [az --version](/cli/azure/reference-index#az-version) command to find the installed version. If you run Azure CLI locally, sign in to Azure using the [az login](/cli/azure/reference-index#az-login) command.
2528

26-
## Create a VM
29+
## Create a virtual machine
2730

2831
Before you can create a VM, you must create a resource group to contain the VM. Create a resource group with [az group create](/cli/azure/group#az-group-create). The following example creates a resource group named *myResourceGroup* in the *eastus* location:
2932

0 commit comments

Comments
 (0)