@@ -24,18 +24,22 @@ Before proceeding, ensure you have the following prerequisites:
24
24
## Procedure
25
25
26
26
1 . ** Login to Azure:**
27
+
27
28
Use the following command to log in to your Azure account:
29
+
28
30
``` Azure CLI
29
31
az login
30
32
```
31
33
32
- 2 . ** Set subscription (if necessary):**
34
+ 3 . ** Set subscription (if necessary):**
35
+
33
36
If you have multiple subscriptions and need to set one as the default, you can do so with:
37
+
34
38
``` Azure CLI
35
39
az account set --subscription <subscription-id>
36
40
```
37
41
38
- 3 . ** Delete ACLs Associated with NNI:**
42
+ 5 . ** Delete ACLs associated with NNI:**
39
43
40
44
To delete ACLs applied on NNI or External Network resources, pass a null value to ` --ingress-acl-id ` and ` --egress-acl-id ` .
41
45
@@ -54,7 +58,7 @@ Before proceeding, ensure you have the following prerequisites:
54
58
> [ !NOTE]
55
59
> Based on requirements, either the Ingress, Egress, or both can be updated.
56
60
57
- 4 . ** Commit Configuration Changes :**
61
+ 6 . ** Fabric commit configuration changes :**
58
62
59
63
Execute ` fabric commit-configuration ` to commit the configuration changes.
60
64
@@ -67,23 +71,23 @@ Before proceeding, ensure you have the following prerequisites:
67
71
| ` --resource-group ` | The name of the resource group containing the Nexus Network Fabric. |
68
72
| ` --resource-name ` | The name of the Nexus Network Fabric to which the configuration changes will be committed. |
69
73
70
- 5 . ** Verify Changes :**
74
+ 7 . ** Verify changes :**
71
75
72
76
Verify the changes using the ` resource list ` command.
73
77
74
- ### Deleting ACL Associations from NNI
78
+ ### Deleting ACL associations from NNI
75
79
76
80
To disassociate only the egress ACL from an NNI, use the following command:
77
81
78
- ```Azure CLI
79
- az networkfabric nni update --resource-group "<resource-group-name>" --resource-name "<nni-name>" --fabric "<fabric-name>" --egress-acl-id null
80
- ```
82
+ ``` Azure CLI
83
+ az networkfabric nni update --resource-group "<resource-group-name>" --resource-name "<nni-name>" --fabric "<fabric-name>" --egress-acl-id null
84
+ ```
81
85
82
86
To disassociate both egress and ingress ACLs from an NNI, use the following command:
83
87
84
- ```Azure CLI
85
- az networkfabric nni update --resource-group "<resource-group-name>" --resource-name "<nni-name>" --fabric "<fabric-name>" --egress-acl-id null --ingress-acl-id null
86
- ```
88
+ ``` Azure CLI
89
+ az networkfabric nni update --resource-group "<resource-group-name>" --resource-name "<nni-name>" --fabric "<fabric-name>" --egress-acl-id null --ingress-acl-id null
90
+ ```
87
91
88
92
Ensure to replace placeholders with actual resource group and NNI names for accurate execution.
89
93
0 commit comments