Skip to content

Commit 5cea7bd

Browse files
committed
add delete ARS section
1 parent 9482207 commit 5cea7bd

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

articles/route-server/configure-route-server.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,8 @@ az network routeserver peering show --name 'myNVA' --resource-group 'myResourceG
300300

301301
## View advertised and learned routes
302302

303+
In this section, you learn how to view the route server's advertised and learned routes.
304+
303305
# [**Portal**](#tab/portal)
304306

305307
Use [PowerShell](?tabs=powershell#view-advertised-and-learned-routes) or [Azure CLI](?tabs=cli#view-advertised-and-learned-routes) to view the advertised and learned routes.
@@ -392,6 +394,48 @@ az network routeserver peering delete --name 'myNVA' --resource-group 'myResourc
392394

393395
---
394396

397+
## Delete a route server
398+
399+
In this section, you learn how to delete an existing route server.
400+
401+
# [**Portal**](#tab/portal)
402+
403+
1. Go to the route server that you want to delete.
404+
405+
1. Select **Delete** from the **Overview** page.
406+
407+
1. Select **Confirm** to delete the route server.
408+
409+
:::image type="content" source="./media/configure-route-server/delete-route-server.png" alt-text="Screenshot that shows how to delete a route server." lightbox="./media/configure-route-server/delete-route-server.png":::
410+
411+
# [**PowerShell**](#tab/powershell)
412+
413+
Use [Remove-AzRouteServer](/powershell/module/az.network/remove-azrouteserver) cmdlet to delete a route server.
414+
415+
```azurepowershell-interactive
416+
Remove-AzRouteServer -RouteServerName 'myRouteServer' -ResourceGroupName 'myResourceGroup'
417+
```
418+
419+
| Parameter | Value |
420+
| ----- | ----- |
421+
| `-RouteServerName` | The route server name. |
422+
| `-ResourceGroupName` | The resource group name of your route server. |
423+
424+
# [**Azure CLI**](#tab/cli)
425+
426+
Use [az network routeserver delete](/cli/azure/network/routeserver#az-network-routeserver-delete) command to delete a route server.
427+
428+
```azurecli-interactive
429+
az network routeserver delete --name 'myRouteServer' --resource-group 'myResourceGroup'
430+
```
431+
432+
| Parameter | Value |
433+
| ----- | ----- |
434+
| `--name` | The route server name. |
435+
| `--resource-group` | The resource group name of your route server. |
436+
437+
---
438+
395439
## Related content
396440

397441
- [Create a route server using the Azure portal](quickstart-configure-route-server-portal.md)
44.7 KB
Loading

0 commit comments

Comments
 (0)