@@ -26,7 +26,7 @@ Before applying ACLs to NNIs, utilize the following commands to view ACL details
26
26
To view the specifics of a particular ACL, execute the following command:
27
27
28
28
``` 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>"
30
30
```
31
31
32
32
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
36
36
To list all ACLs within a resource group, use the command:
37
37
38
38
``` azurecli
39
- az networkfabric acl list --resource-group myResourceGroup
39
+ az networkfabric acl list --resource-group "<resource-group-name>"
40
40
```
41
41
42
42
This command presents a comprehensive list of ACLs along with their configuration states and other pertinent details.
43
43
44
44
#### Applying Ingress ACL to NNI
45
45
46
46
``` 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> "
48
48
```
49
49
50
50
| Parameter | Description |
51
51
| -------------------| --------------------------------------------------|
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. |
53
53
54
54
#### Applying Egress ACL to NNI
55
55
56
56
``` 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> "
58
58
```
59
59
60
60
| Parameter | Description |
61
61
| ------------------| ------------------------------------------------|
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. |
63
63
64
64
#### Applying Ingress and Egress ACLs to NNI:
65
65
66
66
``` 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>" "
68
68
```
69
69
70
70
| Parameter | Description |
71
71
| -------------------| ----------------------------------------------------------------------------------------------------------------|
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