Skip to content

Commit 34f7e26

Browse files
Merge pull request #272613 from sushantjrao/patch-19
Update how-to-apply-access-control-list-to-network-to-network-interco…
2 parents ab640e0 + 0bff91d commit 34f7e26

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/operator-nexus/how-to-apply-access-control-list-to-network-to-network-interconnects.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Before applying ACLs to NNIs, utilize the following commands to view ACL details
2626
To view the specifics of a particular ACL, execute the following command:
2727

2828
```azurecli
29-
az networkfabric acl show --name acl-ingress --resource-group myResourceGroup
29+
az networkfabric acl show --name "<acl-ingress-name>" --resource-group "<resource-group-name>"
3030
```
3131

3232
This command furnishes detailed information regarding the ACL's configuration, administrative state, default action, and matching conditions.
@@ -36,37 +36,37 @@ This command furnishes detailed information regarding the ACL's configuration, a
3636
To list all ACLs within a resource group, use the command:
3737

3838
```azurecli
39-
az networkfabric acl list --resource-group myResourceGroup
39+
az networkfabric acl list --resource-group "<resource-group-name>"
4040
```
4141

4242
This command presents a comprehensive list of ACLs along with their configuration states and other pertinent details.
4343

4444
#### Applying Ingress ACL to NNI
4545

4646
```azurecli
47-
az networkfabric nni update --resource-group "example-rg" --resource-name "example-nnimgmt" --fabric "examplefabric" --ingress-acl-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accesscontrollists/example-Ipv4ingressACL"
47+
az networkfabric nni update --resource-group "<resource-group-name>" --resource-name "<nni-name>" --fabric "<fabric-name>" --ingress-acl-id "<ingress-acl-resource-id>"
4848
```
4949

5050
| Parameter | Description |
5151
|-------------------|--------------------------------------------------|
52-
| --ingress-acl-id | Apply the ACL as ingress by specifying its ID. |
52+
| --ingress-acl-id | Apply the ACL as ingress by specifying its resource ID. |
5353

5454
#### Applying Egress ACL to NNI
5555

5656
```azurecli
57-
az networkfabric nni update --resource-group "example-rg" --resource-name "example-nnimgmt" --fabric "examplefabric" --egress-acl-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accesscontrollists/example-Ipv4ingressACL"
57+
az networkfabric nni update --resource-group "example-rg" --resource-name "<nni-name>" --fabric "<fabric-name>" --egress-acl-id "<egress-acl-resource-id>"
5858
```
5959

6060
| Parameter | Description |
6161
|------------------|------------------------------------------------|
62-
| --egress-acl-id | Apply the ACL as egress by specifying its ID. |
62+
| --egress-acl-id | Apply the ACL as egress by specifying its resource ID. |
6363

6464
#### Applying Ingress and Egress ACLs to NNI:
6565

6666
```azurecli
67-
az networkfabric nni update --resource-group "example-rg" --resource-name "example-nnimgmt" --fabric "examplefabric" --ingress-acl-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accesscontrollists/example-Ipv4ingressACL" --egress-acl-id "/subscriptions/xxxxx-xxxx-xxxx-xxxx-xxxxx/resourceGroups/example-rg/providers/Microsoft.ManagedNetworkFabric/accesscontrollists/example-Ipv4egressACL"
67+
az networkfabric nni update --resource-group "example-rg" --resource-name "<nni-name>" --fabric "<fabric-name>" --ingress-acl-id "<ingress-acl-resource-id>" --egress-acl-id ""<egress-acl-resource-id>""
6868
```
6969

7070
| Parameter | Description |
7171
|-------------------|----------------------------------------------------------------------------------------------------------------|
72-
| --ingress-acl-id, --egress-acl-id | To apply both ingress and egress ACLs simultaneously, create two new ACLs and include their respective IDs. |
72+
| --ingress-acl-id, --egress-acl-id | To apply both ingress and egress ACLs simultaneously, create two new ACLs and include their respective resource IDs. |

0 commit comments

Comments
 (0)