Skip to content

Commit cf71de9

Browse files
authored
Merge pull request #273757 from sushantjrao/deletel3isolationdomain
Deletel3isolationdomain
2 parents 965cc51 + d19ea87 commit cf71de9

6 files changed

+78
-14
lines changed

articles/operator-nexus/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@
154154
href: howto-delete-access-control-list-network-to-network-interconnect.md
155155
- name: How to Configure Diagnostic Settings and Monitor Configuration Differences in Nexus Network Fabric
156156
href: howto-configure-diagnostic-settings-monitor-configuration-differences.md
157+
- name: How to Delete L3 Isolation Domains in Azure Nexus Network Fabric
158+
href: howto-delete-layer-3-isolation-domains.md
157159
- name: Nexus Kubernetes cluster
158160
expanded: false
159161
items:

articles/operator-nexus/howto-configure-diagnostic-settings-monitor-configuration-differences.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,39 +11,39 @@ ms.custom: template-how-to
1111

1212
# How to configure diagnostic settings and monitor configuration differences in Nexus Network Fabric
1313

14-
In this guide, we'll walk you through the process of setting up diagnostic settings and monitoring configuration differences in Nexus Network Fabric.
14+
In this guide, we walk you through the process of setting up diagnostic settings and monitoring configuration differences in Nexus Network Fabric.
1515

16-
## Step 1: Accessing device settings in Azure Portal
16+
## Step 1: Accessing device settings in Azure portal
1717

1818
- Sign in to the Azure portal.
1919

2020
- In **Search resources, service, and docs (G+/)** at the top of the portal page, enter **Network Device**.
2121

22-
- :::image type="content" source="media/search-network-device.png" alt-text="Screenshot of search box for Network Device in portal.":::
22+
:::image type="content" source="media/search-network-device.png" alt-text="Screenshot of search box for Network Device in portal.":::
2323

2424
- Select the appropriate network device from the search results. Ensure that you choose the device for which you need to configure diagnostic settings.
2525

2626
## Step 2: Adding diagnostic setting
2727

2828
- After selecting the appropriate network device, navigate to the monitoring and select diagnostic settings.
2929

30-
- Within the diagnostic settings section, select "Add diagnostic setting".
30+
- After accessing the diagnostic settings section, select "Add diagnostic setting".
3131

32-
- :::image type="content" source="media/network-device-dignostics-settings.png" alt-text="Screenshot of diagnostics settings page for network device.":::
32+
:::image type="content" source="media/network-device-diagnostics-settings.png" alt-text="Screenshot of diagnostics settings page for network device.":::
3333

34-
- In the diagnostic settings, provide a descriptive name for the diagnostic setting to easily identify its purpose.
34+
- Within the diagnostic settings, provide a descriptive name for the diagnostic setting to easily identify its purpose.
3535

36-
- Select the desired categories of data that you want to collect for this diagnostic setting. In this case, select "System Session History Updates" from the list of available categories.
36+
- In the diagnostic settings, select the desired categories of data that you want to collect for this diagnostic setting.
3737

38-
:::image type="content" source="media/network-device-system-session-history-updates.png" alt-text="Showcases specific categories of data to collect in portal.":::
38+
:::image type="content" source="media/network-device-system-session-history-updates.png" alt-text="Showcases specific categories of data to collect in portal.":::
3939

4040
## Step 3: Choosing log destination
4141

4242
- Once the diagnostic setting is added, locate the section where the log destination can be specified.
4343

4444
- Select the log destination from several choices, including Log Analytics Workspace, Storage account, and Event Hubs.
4545

46-
- :::image type="content" source="media/network-device-log-analytics-workspace.png" alt-text="Screenshot of configuration page for selecting Log Analytics Workspace as the log destination for a network device.":::
46+
:::image type="content" source="media/network-device-log-analytics-workspace.png" alt-text="Screenshot of configuration page for selecting Log Analytics Workspace as the log destination for a network device.":::
4747

4848
> [!Note]
4949
> In our example, we'll push the logs to the Log Analytics Workspace.<br>
@@ -55,8 +55,8 @@ In this guide, we'll walk you through the process of setting up diagnostic setti
5555

5656
- Navigate to the Log Analytics Workspace where the logs from the network device are being stored.
5757

58-
- Within the Log Analytics Workspace, access the query interface or log search functionality.
58+
- Within the Log Analytics Workspace, access the query interface or log search functionality.
5959

60-
- :::image type="content" source="media/network-device-config-difference.png" alt-text="Screenshot of comparison of configuration differences for a network device in a visual format.":::
60+
:::image type="content" source="media/network-device-configuration-difference.png" alt-text="Screenshot of comparison of configuration differences for a network device in a visual format.":::
6161

6262
- In the query interface, specify the event category as "MNFSystemSessionHistoryUpdates". This will filter the logs to specifically show configuration updates and changes comprehensively.

articles/operator-nexus/howto-create-access-control-list-for-network-to-network-interconnects.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,20 @@ To create an ACL and define its properties, you can utilize the `az networkfabri
2323

2424
If you have multiple subscriptions and need to set one as the default, you can do so with:
2525

26-
```bash
26+
```Azure CLI
2727
az account set --subscription <subscription-id>
2828
```
2929

3030
2. **Create ACL:**
3131

32-
```bash
32+
```Azure CLI
3333
az networkfabric acl create --resource-group "<resource-group>" --location "<location>" --resource-name "<acl-name>" --annotation "<annotation>" --configuration-type "<configuration-type>" --default-action "<default-action>" --match-configurations "[{matchConfigurationName:<match-config-name>,sequenceNumber:<sequence-number>,ipAddressType:<IPv4/IPv6>,matchConditions:[{ipCondition:{type:<SourceIP/DestinationIP>,prefixType:<Prefix/Exact>,ipPrefixValues:['<ip-prefix1>', '<ip-prefix2>', ...]}}],actions:[{type:<Action>}]}]"
3434
```
3535

3636
| Parameter | Description |
3737
|----------------------|----------------------------------------------------------------------|
3838
| Resource Group | Specify the resource group of your network fabric. |
39-
| Location | Define the location where the ACL will be created. |
39+
| Location | Define the location where the ACL is created. |
4040
| Resource Name | Provide a name for the ACL. |
4141
| Annotation | Optionally, add a description or annotation for the ACL. |
4242
| Configuration Type | Specify whether the configuration is inline or by using a file. |
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
title: How to Delete L3 Isolation Domains in Azure Nexus Network Fabric
3+
description: Learn how to effectively delete L3 Isolation Domains in the Azure Nexus Network Fabric.
4+
ms.service: azure-operator-nexus
5+
ms.custom: template-how-to, devx-track-azurecli
6+
ms.topic: how-to
7+
ms.date: 02/07/2024
8+
author: sushantjrao
9+
ms.author: sushrao
10+
---
11+
12+
# How to delete L3 isolation domains in Azure Nexus Network Fabric
13+
14+
In managing network infrastructure, deleting Layer 3 (L3) Isolation Domains (ISDs) needs careful consideration and precise execution to maintain the network's integrity and functionality. This step-by-step guide outlines the process of safely deleting L3 ISDs.
15+
16+
Below are the steps involved:
17+
18+
[!INCLUDE [azure-cli-prepare-your-environment.md](~/reusable-content/azure-cli/azure-cli-prepare-your-environment.md)]
19+
20+
1. **Set subscription (if necessary):**
21+
22+
If you have multiple subscriptions and need to set one as the default, you can do so with:
23+
24+
```Azure CLI
25+
az account set --subscription <subscription-id>
26+
```
27+
28+
2. **Disable L3 isolation domains**
29+
30+
Before deleting an L3 ISD, it's crucial to disable it to prevent any disruption to the network using the following command.
31+
32+
```Azure CLI
33+
az nf l3domain update-admin-state --resource-group "ResourceGroupName" --resource-name "example-l3domain" --state Disable
34+
```
35+
36+
| Parameter | Description |
37+
|----------------------|-------------------------------------------------------------------------------------------------|
38+
| --resource-group | The name of the resource group containing the L3 isolation domain to update. |
39+
| --resource-name | The name of the L3 isolation domain to update. |
40+
| --state | The desired state of the L3 isolation domain. Possible values: "Enable" or "Disable". |
41+
42+
>!**Note:**
43+
>Disabling the L3 isolation domain will disassociate all attached resources, including route policies, IP prefixes, IP communities, and both internal and external networks.
44+
45+
3. **Delete L3 isolation domains**
46+
47+
After disabling the L3 isolation domain and disassociating its associated resources, you can safely delete it using the following command.
48+
49+
```Azure CLI
50+
az nf l3domain delete --resource-group "ResourceGroupName" --resource-name "example-l3domain"
51+
```
52+
53+
| Parameter | Description |
54+
|----------------------|-------------------------------------------------------------------------------------------------|
55+
| --resource-group | The name of the resource group containing the L3 isolation domain to delete. |
56+
| --resource-name | The name of the L3 isolation domain to delete. |
57+
58+
This table outlines the parameters required for executing the `az nf l3domain delete` command, facilitating users in understanding the necessary inputs for deleting an L3 isolation domain.
59+
60+
3. Validation:
61+
62+
After executing the deletion command, use either the `show` or `list` commands to validate that the isolation domain has been successfully deleted.

0 commit comments

Comments
 (0)