You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/operator-nexus/delete-access-control-list-network-to-network-interconnect.md
+70-34Lines changed: 70 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
+
1
2
---
2
-
title: Delete ACLs associated to network-to-network interconnects (NNI)
3
-
description: Process of deleting ACLs to network-to-network interconnects (NNI)
3
+
title: Delete ACLs associated with Network-to-Network Interconnects (NNI)
4
+
description: Process of deleting ACLs associated with Network-to-Network Interconnects (NNI)
4
5
author: sushantjrao
5
6
ms.author: sushrao
6
7
ms.service: azure-operator-nexus
@@ -9,44 +10,88 @@ ms.date: 04/18/2024
9
10
ms.custom: template-how-to
10
11
---
11
12
13
+
# Deleting ACLs associated with Network-to-Network Interconnects (NNI)
12
14
13
-
To delete ACLs applied on NNI or External Network resources, pass a null value to `--ingress-acl-id` and `--egress-acl-id`.
15
+
## Introduction
14
16
15
-
1. Update the NNI or External Network by passing a null ID to `--ingress-acl-id` and `--egress-acl-id`.
17
+
This document outlines the process of deleting Access Control Lists (ACLs) associated with Network-to-Network Interconnects (NNIs) within a Nexus Network Fabric.
16
18
17
-
```Azure CLI
18
-
az networkfabric nni update --resource-group "<resource-group-name>" --resource-name "<nni-name>" --fabric "<fabric-name>" --ingress-acl-id null --egress-acl-id null
|`--resource-group`| The name of the resource group containing the Nexus Network Fabric. |
71
+
|`--resource-name`| The name of the Nexus Network Fabric to which the configuration changes will be committed. |
42
72
43
-
4.Verify the changes using the `resource list` command.
73
+
5.**Verify Changes:**
44
74
75
+
Verify the changes using the `resource list` command.
45
76
46
77
### Deleting ACL Associations from NNI
47
78
48
79
To disassociate only the egress ACL from an NNI, use the following command:
49
80
81
+
```Azure CLI
82
+
az networkfabric nni update --resource-group "<resource-group-name>" --resource-name "<nni-name>" --fabric "<fabric-name>" --egress-acl-id null
83
+
```
84
+
85
+
To disassociate both egress and ingress ACLs from an NNI, use the following command:
86
+
87
+
```Azure CLI
88
+
az networkfabric nni update --resource-group "<resource-group-name>" --resource-name "<nni-name>" --fabric "<fabric-name>" --egress-acl-id null --ingress-acl-id null
89
+
```
90
+
91
+
Ensure to replace placeholders with actual resource group and NNI names for accurate execution.
92
+
93
+
Example of disassociating the egress ACL from an NNI
94
+
50
95
```Azure CLI
51
96
az networkfabric nni update --resource-group "example-rg" --resource-name "example-nni" --fabric "example-fabric" --egress-acl-id null
52
97
```
@@ -94,12 +139,3 @@ Example Output:
94
139
"useOptionB": "True"
95
140
}
96
141
```
97
-
98
-
To disassociate both egress and ingress ACLs from an NNI, use the following command:
99
-
100
-
```Azure CLI
101
-
az networkfabric nni update --resource-group "example-rg" --resource-name "example-nni" --fabric "example-fabric" --egress-acl-id null --ingress-acl-id null
102
-
```
103
-
104
-
These commands allow for the disassociation of ACLs from NNIs within the specified Nexus Network Fabric. Ensure to replace placeholders with actual resource group and NNI names for accurate execution.
0 commit comments