Skip to content

Commit 5684e61

Browse files
committed
Minor formatting issues
1 parent e62a5b3 commit 5684e61

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

azure-local/manage/manage-network-security-groups.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ This article describes how to manage network security groups (NSGs) on your Azur
4343

4444
---
4545

46-
*## Manage network securi*ty groups and network security rules
46+
## Manage network security groups and network security rules
4747

4848
# [Azure CLI](#tab/azurecli)
4949

@@ -140,7 +140,7 @@ Follow these steps to show details of a network security group:
140140
az stack-hci-vm network nsg show -g $resource_group --name $nsgname
141141
```
142142
143-
2. The command outputs the details of a specified network security group (NSG).
143+
1. The command outputs the details of a specified network security group (NSG).
144144
145145
- In this example, the NSG has no network interface attached.
146146
@@ -233,7 +233,7 @@ Follow these steps to delete a network security group:
233233
$nsgname = "examplensg"
234234
```
235235
236-
2. Run the following command to delete a network security group (NSG) on your Azure Local instance.
236+
1. Run the following command to delete a network security group (NSG) on your Azure Local instance.
237237
238238
```azurecli
239239
az stack-hci-vm network nsg delete -g $resource_group --name $nsgname --yes
@@ -257,7 +257,7 @@ In this example, we create a network interface with an existing network security
257257
$nicname="examplenic"
258258
```
259259
260-
2. Run the following command to create a network interface (NIC) on your Azure Local instance.
260+
1. Run the following command to create a network interface (NIC) on your Azure Local instance.
261261
262262
```azurecli
263263
az stack-hci-vm network nic create --resource-group $resource_group --custom-location $customLocationId --location $location --subnet-id $lnetname --ip-address $ipaddress --name $nicname --network-security-group $nsgname
@@ -469,6 +469,7 @@ In this example, we associate a static logical network with an existing network
469469
You can dissociate a network security group from a logical network. This dissociation allows you to remove the network security rules applied to the logical network.
470470
471471
Follow these steps to dissociate a network security group from logical network:
472+
472473
1. Set the following parameters in your Azure CLI session. Make sure to pass the NSG name as an empty string encased in double quotes followed by single quotes ('""').
473474
474475
```azurecli
@@ -478,6 +479,7 @@ Follow these steps to dissociate a network security group from logical network:
478479
$nsgname = '""'
479480
$lnetname="static-lnet3"
480481
```
482+
481483
2. To dissociate a network security group from a logical network, run the following command:
482484
483485
```azurecli
@@ -575,7 +577,8 @@ Follow these steps to dissociate a network security group from logical network:
575577
"tags": {},
576578
"type": "microsoft.azurestackhci/logicalnetworks"
577579
}
578-
```
580+
```
581+
579582
</details>
580583
581584
## Dissociate network security group from network interface
@@ -594,7 +597,7 @@ Follow these steps to dissociate a network security group from a network interfa
594597
$nicname ="examplenic"
595598
```
596599
597-
2. To dissociate a network security group from a network interface, run the following command:
600+
1. To dissociate a network security group from a network interface, run the following command:
598601
599602
```azurecli
600603
az stack-hci-vm network nic update -g $resource_group --name $nicname --network-security-group '""'
@@ -676,8 +679,7 @@ This section describes the manage operations supported for network security rule
676679
$nsgname = "examplensg"
677680
```
678681
679-
2. Run this command to show details of a network security rule:
680-
682+
1. Run this command to show details of a network security rule:
681683
682684
```azurecli
683685
az stack-hci-vm network nsg rule show -g $resource_group -n $securityrulename --nsg-name $nsgname
@@ -733,7 +735,6 @@ This section describes the manage operations supported for network security rule
733735
734736
### Update a network security rule
735737
736-
737738
1. Set the following parameters in your Azure CLI session.
738739
739740
```azurecli
@@ -967,7 +968,7 @@ To dissociate a network security group from a network interface, follow these st
967968
968969
1. Go to **Azure Local resource page > Resources > Network interfaces**.
969970
970-
:::image type="content" source="./media/manage-network-security-groups/associate-network-security-group-network-interface-1.png" alt-text="Screenshot of selecting network interface to dissociate from the network security group." lightbox="./media/manage-network-security-groups/associate-network-security-group-network-interface-1.png":::
971+
:::image type="content" source="./media/manage-network-security-groups/associate-network-security-group-network-interface-1.png" alt-text="Screenshot of selecting network interface to dissociate from the network security group." lightbox="./media/manage-network-security-groups/associate-network-security-group-network-interface-1.png":::
971972
972973
1. In the right pane, from the list of network interfaces, select an interface that has a network security group attached to it.
973974
1. Go to **Settings > Network security groups**.
@@ -982,7 +983,6 @@ To dissociate a network security group from a network interface, follow these st
982983
The operation takes a few minutes to complete. You can see the status of the operation in the **Notifications** pane.
983984
After the network security group is dissociated from the network interface, the page refreshes to indicate the dissociation.
984985
985-
986986
## List network security rules in a network security group
987987
988988
To list network security rules in a network security group, follow these steps:
@@ -1004,12 +1004,10 @@ To update a network security rule, follow these steps:
10041004
10051005
---
10061006
1007-
10081007
## Next steps
10091008
10101009
- [Troubleshoot SDN enabled by Arc](../index.yml).
10111010
1012-
10131011
::: moniker-end
10141012
10151013
::: moniker range="<=azloc-2505"

0 commit comments

Comments
 (0)