Skip to content

Commit 5f187cf

Browse files
committed
fixed cli links to remove version
1 parent 14d1caa commit 5f187cf

File tree

1 file changed

+39
-39
lines changed

1 file changed

+39
-39
lines changed

articles/nat-gateway/tutorial-hub-spoke-route-nat.md

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ All outbound internet traffic traverses the NAT gateway to the internet. Use the
8282

8383
# [**CLI**](#tab/cli)
8484

85-
Use [az network public-ip create](/cli/azure/network/public-ip?view=azure-cli-latest#az_network_public_ip_create) to create a public IP address for the NAT gateway.
85+
Use [az network public-ip create](/cli/azure/network/public-ip#az_network_public_ip_create) to create a public IP address for the NAT gateway.
8686

8787
```azurecli-interactive
8888
az network public-ip create \
@@ -93,7 +93,7 @@ az network public-ip create \
9393
--zone 1 2 3
9494
```
9595

96-
Use [az network nat gateway create](/cli/azure/network/nat-gateway?view=azure-cli-latest#az_network_nat_gateway_create) to create the NAT gateway.
96+
Use [az network nat gateway create](/cli/azure/network/nat-gateway#az_network_nat_gateway_create) to create the NAT gateway.
9797

9898
```azurecli-interactive
9999
az network nat gateway create \
@@ -187,7 +187,7 @@ It takes a few minutes for the bastion host to deploy. When the virtual network
187187

188188
# [**CLI**](#tab/cli)
189189

190-
Use [az network vnet create](/cli/azure/network/vnet?view=azure-cli-latest#az_network_vnet_create) to create the virtual network.
190+
Use [az network vnet create](/cli/azure/network/vnet#az_network_vnet_create) to create the virtual network.
191191

192192
```azurecli-interactive
193193
az network vnet create \
@@ -197,7 +197,7 @@ az network vnet create \
197197
--location eastus2
198198
```
199199

200-
Use [az network vnet subnet create](/cli/azure/network/vnet/subnet?view=azure-cli-latest#az_network_vnet_subnet_create) to create the subnets.
200+
Use [az network vnet subnet create](/cli/azure/network/vnet/subnet#az_network_vnet_subnet_create) to create the subnets.
201201

202202
```azurecli-interactive
203203
az network vnet subnet create \
@@ -220,7 +220,7 @@ az network vnet subnet create \
220220
--nat-gateway nat-gateway
221221
```
222222

223-
Use [az network public-ip create](/cli/azure/network/public-ip?view=azure-cli-latest#az_network_public_ip_create) to create a public IP address for the Azure Bastion host.
223+
Use [az network public-ip create](/cli/azure/network/public-ip#az_network_public_ip_create) to create a public IP address for the Azure Bastion host.
224224

225225
```azurecli-interactive
226226
# Create public IP for Bastion
@@ -231,7 +231,7 @@ az network public-ip create \
231231
--allocation-method Static
232232
```
233233

234-
Use [az network bastion create](/cli/azure/network/bastion?view=azure-cli-latest#az_network_bastion_create) to create the Azure Bastion host.
234+
Use [az network bastion create](/cli/azure/network/bastion#az_network_bastion_create) to create the Azure Bastion host.
235235

236236
```azurecli-interactive
237237
az network bastion create \
@@ -298,7 +298,7 @@ The simulated NVA acts as a virtual appliance to route all traffic between the s
298298

299299
# [**CLI**](#tab/cli)
300300

301-
Use [az network nsg create](/cli/azure/network/nsg?view=azure-cli-latest#az_network_nsg_create) to create the network security group.
301+
Use [az network nsg create](/cli/azure/network/nsg#az_network_nsg_create) to create the network security group.
302302

303303
```azurecli-interactive
304304
az network nsg create \
@@ -307,7 +307,7 @@ az network nsg create \
307307
--location eastus2
308308
```
309309

310-
Use [az network nic create](/cli/azure/network/nic?view=azure-cli-latest#az_network_nic_create) to create the network interface.
310+
Use [az network nic create](/cli/azure/network/nic#az_network_nic_create) to create the network interface.
311311

312312
```azurecli-interactive
313313
az network nic create \
@@ -318,7 +318,7 @@ az network nic create \
318318
--network-security-group nsg-nva
319319
```
320320

321-
Use [az vm create](/cli/azure/vm?view=azure-cli-latest#az_vm_create) to create the virtual machine.
321+
Use [az vm create](/cli/azure/vm#az_vm_create) to create the virtual machine.
322322

323323
```azurecli-interactive
324324
az vm create \
@@ -389,7 +389,7 @@ The IP configuration of the primary network interface of the virtual machine is
389389

390390
# [**CLI**](#tab/cli)
391391

392-
Use [az network nic update](/cli/azure/network/nic?view=azure-cli-latest#az_network_nic_update) to enable IP forwarding on the primary network interface.
392+
Use [az network nic update](/cli/azure/network/nic#az_network_nic_update) to enable IP forwarding on the primary network interface.
393393

394394
```azurecli-interactive
395395
az network nic update \
@@ -398,7 +398,7 @@ az network nic update \
398398
--ip-forwarding true
399399
```
400400

401-
Use [az network nic ip-config update](/cli/azure/network/nic/ip-config?view=azure-cli-latest#az_network_nic_ip_config_update) to statically set the private IP address of the virtual machine.
401+
Use [az network nic ip-config update](/cli/azure/network/nic/ip-config#az_network_nic_ip_config_update) to statically set the private IP address of the virtual machine.
402402

403403
```azurecli-interactive
404404
az network nic ip-config update \
@@ -409,7 +409,7 @@ az network nic ip-config update \
409409
--private-ip-address-version IPv4
410410
```
411411

412-
Use [az network nic create](/cli/azure/network/nic?view=azure-cli-latest#az_network_nic_create) to create the secondary network interface.
412+
Use [az network nic create](/cli/azure/network/nic#az_network_nic_create) to create the secondary network interface.
413413

414414
```azurecli-interactive
415415
az network nic create \
@@ -420,7 +420,7 @@ az network nic create \
420420
--private-ip-address 10.0.0.10
421421
```
422422

423-
Use [az vm nic add](/cli/azure/vm/nic?view=azure-cli-latest#az_vm_nic_add) to attach the secondary network interface to the virtual machine. The command will generate SSH keys for the virtual machine for login. Make note of the location of the private key. The private key is needed in later steps for connecting to the virtual machine with Azure Bastion.
423+
Use [az vm nic add](/cli/azure/vm/nic#az_vm_nic_add) to attach the secondary network interface to the virtual machine. The command will generate SSH keys for the virtual machine for login. Make note of the location of the private key. The private key is needed in later steps for connecting to the virtual machine with Azure Bastion.
424424

425425
```azurecli-interactive
426426
az vm nic add \
@@ -571,7 +571,7 @@ Route tables are used to overwrite Azure's default routing. Create a route table
571571
572572
# [**CLI**](#tab/cli)
573573
574-
Use [az network route-table create](/cli/azure/network/route-table?view=azure-cli-latest#az_network_route_table_create) to create the route table.
574+
Use [az network route-table create](/cli/azure/network/route-table#az_network_route_table_create) to create the route table.
575575
576576
```azurecli-interactive
577577
az network route-table create \
@@ -580,7 +580,7 @@ az network route-table create \
580580
--location eastus2
581581
```
582582
583-
Use [az network route-table route create](/cli/azure/network/route-table/route?view=azure-cli-latest#az_network_route_table_route_create) to create the route in the route table.
583+
Use [az network route-table route create](/cli/azure/network/route-table/route#az_network_route_table_route_create) to create the route in the route table.
584584
585585
```azurecli-interactive
586586
az network route-table route create \
@@ -592,7 +592,7 @@ az network route-table route create \
592592
--next-hop-ip-address 10.0.0.10
593593
```
594594
595-
Use [az network vnet subnet update](/cli/azure/network/vnet/subnet?view=azure-cli-latest#az_network_vnet_subnet_update) to associate the route table with the subnet.
595+
Use [az network vnet subnet update](/cli/azure/network/vnet/subnet#az_network_vnet_subnet_update) to associate the route table with the subnet.
596596
597597
```azurecli-interactive
598598
az network vnet subnet update \
@@ -658,7 +658,7 @@ Create another virtual network in a different region for the first spoke of the
658658
659659
# [**CLI**](#tab/cli)
660660
661-
Use [az network vnet create](/cli/azure/network/vnet?view=azure-cli-latest#az_network_vnet_create) to create the virtual network.
661+
Use [az network vnet create](/cli/azure/network/vnet#az_network_vnet_create) to create the virtual network.
662662
663663
```azurecli-interactive
664664
az network vnet create \
@@ -668,7 +668,7 @@ az network vnet create \
668668
--location southcentralus
669669
```
670670
671-
Use [az network vnet subnet create](/cli/azure/network/vnet/subnet?view=azure-cli-latest#az_network_vnet_subnet_create) to create the subnet.
671+
Use [az network vnet subnet create](/cli/azure/network/vnet/subnet#az_network_vnet_subnet_create) to create the subnet.
672672
673673
```azurecli-interactive
674674
az network vnet subnet create \
@@ -724,7 +724,7 @@ A virtual network peering is used to connect the hub to spoke one and spoke one
724724
725725
# [**CLI**](#tab/cli)
726726
727-
Use [az network vnet peering create](/cli/azure/network/vnet/peering?view=azure-cli-latest#az_network_vnet_peering_create) to create the peering from the hub to spoke one.
727+
Use [az network vnet peering create](/cli/azure/network/vnet/peering#az_network_vnet_peering_create) to create the peering from the hub to spoke one.
728728
729729
```azurecli-interactive
730730
# Create peering from hub to spoke one
@@ -811,7 +811,7 @@ Create a route table to force all inter-spoke and internet egress traffic throug
811811
812812
# [**CLI**](#tab/cli)
813813
814-
Use [az network route-table create](/cli/azure/network/route-table?view=azure-cli-latest#az_network_route_table_create) to create the route table.
814+
Use [az network route-table create](/cli/azure/network/route-table#az_network_route_table_create) to create the route table.
815815
816816
```azurecli-interactive
817817
az network route-table create \
@@ -820,7 +820,7 @@ az network route-table create \
820820
--location southcentralus
821821
```
822822
823-
Use [az network route-table route create](/cli/azure/network/route-table/route?view=azure-cli-latest#az_network_route_table_route_create) to create the route in the route table.
823+
Use [az network route-table route create](/cli/azure/network/route-table/route#az_network_route_table_route_create) to create the route in the route table.
824824
825825
```azurecli-interactive
826826
az network route-table route create \
@@ -832,7 +832,7 @@ az network route-table route create \
832832
--next-hop-ip-address 10.0.0.10
833833
```
834834
835-
Use [az network vnet subnet update](/cli/azure/network/vnet/subnet?view=azure-cli-latest#az_network_vnet_subnet_update) to associate the route table with the subnet.
835+
Use [az network vnet subnet update](/cli/azure/network/vnet/subnet#az_network_vnet_subnet_update) to associate the route table with the subnet.
836836
837837
```azurecli-interactive
838838
az network vnet subnet update \
@@ -901,7 +901,7 @@ A Windows Server 2022 virtual machine is used to test the outbound internet traf
901901
902902
# [**CLI**](#tab/cli)
903903
904-
Use [az network nsg create](/cli/azure/network/nsg?view=azure-cli-latest#az_network_nsg_create) to create the network security group.
904+
Use [az network nsg create](/cli/azure/network/nsg#az_network_nsg_create) to create the network security group.
905905
906906
```azurecli-interactive
907907
az network nsg create \
@@ -910,7 +910,7 @@ az network nsg create \
910910
--location eastus2
911911
```
912912
913-
Use [az network nsg rule create](/cli/azure/network/nsg/rule?view=azure-cli-latest#az_network_nsg_rule_create) to create an inbound NSG rule for HTTP.
913+
Use [az network nsg rule create](/cli/azure/network/nsg/rule#az_network_nsg_rule_create) to create an inbound NSG rule for HTTP.
914914
915915
```azurecli-interactive
916916
az network nsg rule create \
@@ -924,7 +924,7 @@ az network nsg rule create \
924924
--destination-port-ranges 80
925925
```
926926
927-
Use [az network nic create](/cli/azure/network/nic?view=azure-cli-latest#az_network_nic_create) to create the network interface.
927+
Use [az network nic create](/cli/azure/network/nic#az_network_nic_create) to create the network interface.
928928
929929
```azurecli-interactive
930930
az network nic create \
@@ -935,7 +935,7 @@ az network nic create \
935935
--network-security-group nsg-spoke-1
936936
```
937937
938-
Use [az vm create](/cli/azure/vm?view=azure-cli-latest#az_vm_create) to create the Windows Server 2022 virtual machine.
938+
Use [az vm create](/cli/azure/vm#az_vm_create) to create the Windows Server 2022 virtual machine.
939939
940940
```azurecli-interactive
941941
az vm create \
@@ -994,7 +994,7 @@ IIS is installed on the Windows Server 2022 virtual machine to test outbound int
994994
995995
# [**CLI**](#tab/cli)
996996
997-
Use [az vm extension set](/cli/azure/vm/extension?view=azure-cli-latest#az_vm_extension_set) to install IIS on the virtual machine.
997+
Use [az vm extension set](/cli/azure/vm/extension#az_vm_extension_set) to install IIS on the virtual machine.
998998
999999
```azurecli-interactive
10001000
az vm extension set \
@@ -1062,7 +1062,7 @@ Create the second virtual network for the second spoke of the hub and spoke netw
10621062
10631063
# [**CLI**](#tab/cli)
10641064
1065-
Use [az network vnet create](/cli/azure/network/vnet?view=azure-cli-latest#az_network_vnet_create) to create the virtual network.
1065+
Use [az network vnet create](/cli/azure/network/vnet#az_network_vnet_create) to create the virtual network.
10661066
10671067
```azurecli-interactive
10681068
az network vnet create \
@@ -1072,7 +1072,7 @@ az network vnet create \
10721072
--location westus2
10731073
```
10741074
1075-
Use [az network vnet subnet create](/cli/azure/network/vnet/subnet?view=azure-cli-latest#az_network_vnet_subnet_create) to create the subnet.
1075+
Use [az network vnet subnet create](/cli/azure/network/vnet/subnet#az_network_vnet_subnet_create) to create the subnet.
10761076
10771077
```azurecli-interactive
10781078
az network vnet subnet create \
@@ -1136,7 +1136,7 @@ Create a two-way virtual network peer between the hub and spoke two.
11361136
11371137
# [**CLI**](#tab/cli)
11381138
1139-
Use [az network vnet peering create](/cli/azure/network/vnet/peering?view=azure-cli-latest#az_network_vnet_peering_create) to create the peering from the hub to spoke two.
1139+
Use [az network vnet peering create](/cli/azure/network/vnet/peering#az_network_vnet_peering_create) to create the peering from the hub to spoke two.
11401140
11411141
```azurecli-interactive
11421142
# Create peering from hub to spoke two
@@ -1223,7 +1223,7 @@ Create a route table to force all outbound internet and inter-spoke traffic thro
12231223
12241224
# [**CLI**](#tab/cli)
12251225
1226-
Use [az network route-table create](/cli/azure/network/route-table?view=azure-cli-latest#az_network_route_table_create) to create the route table.
1226+
Use [az network route-table create](/cli/azure/network/route-table#az_network_route_table_create) to create the route table.
12271227
12281228
```azurecli-interactive
12291229
az network route-table create \
@@ -1232,7 +1232,7 @@ az network route-table create \
12321232
--location westus2
12331233
```
12341234
1235-
Use [az network route-table route create](/cli/azure/network/route-table/route?view=azure-cli-latest#az_network_route_table_route_create) to create the route in the route table.
1235+
Use [az network route-table route create](/cli/azure/network/route-table/route#az_network_route_table_route_create) to create the route in the route table.
12361236
12371237
```azurecli-interactive
12381238
az network route-table route create \
@@ -1244,7 +1244,7 @@ az network route-table route create \
12441244
--next-hop-ip-address 10.0.0.10
12451245
```
12461246
1247-
Use [az network vnet subnet update](/cli/azure/network/vnet/subnet?view=azure-cli-latest#az_network_vnet_subnet_update) to associate the route table with the subnet.
1247+
Use [az network vnet subnet update](/cli/azure/network/vnet/subnet#az_network_vnet_subnet_update) to associate the route table with the subnet.
12481248
12491249
```azurecli-interactive
12501250
az network vnet subnet update \
@@ -1312,7 +1312,7 @@ Create a Windows Server 2022 virtual machine for the test virtual machine in spo
13121312
# [**CLI**](#tab/cli)
13131313
13141314
1315-
Use [az network nsg create](/cli/azure/network/nsg?view=azure-cli-latest#az_network_nsg_create) to create the network security group.
1315+
Use [az network nsg create](/cli/azure/network/nsg#az_network_nsg_create) to create the network security group.
13161316
13171317
```azurecli-interactive
13181318
az network nsg create \
@@ -1321,7 +1321,7 @@ az network nsg create \
13211321
--location eastus2
13221322
```
13231323
1324-
Use [az network nsg rule create](/cli/azure/network/nsg/rule?view=azure-cli-latest#az_network_nsg_rule_create) to create an inbound NSG rule for HTTP.
1324+
Use [az network nsg rule create](/cli/azure/network/nsg/rule#az_network_nsg_rule_create) to create an inbound NSG rule for HTTP.
13251325
13261326
```azurecli-interactive
13271327
az network nsg rule create \
@@ -1335,7 +1335,7 @@ az network nsg rule create \
13351335
--destination-port-ranges 80
13361336
```
13371337
1338-
Use [az network nic create](/cli/azure/network/nic?view=azure-cli-latest#az_network_nic_create) to create the network interface.
1338+
Use [az network nic create](/cli/azure/network/nic#az_network_nic_create) to create the network interface.
13391339
13401340
```azurecli-interactive
13411341
az network nic create \
@@ -1346,7 +1346,7 @@ az network nic create \
13461346
--network-security-group nsg-spoke-2
13471347
```
13481348
1349-
Use [az vm create](/cli/azure/vm?view=azure-cli-latest#az_vm_create) to create the Windows Server 2022 virtual machine.
1349+
Use [az vm create](/cli/azure/vm#az_vm_create) to create the Windows Server 2022 virtual machine.
13501350
13511351
```azurecli-interactive
13521352
az vm create \
@@ -1405,7 +1405,7 @@ IIS is installed on the Windows Server 2022 virtual machine to test outbound int
14051405
14061406
# [**CLI**](#tab/cli)
14071407
1408-
Use [az vm extension set](/cli/azure/vm/extension?view=azure-cli-latest#az_vm_extension_set) to install IIS on the virtual machine.
1408+
Use [az vm extension set](/cli/azure/vm/extension#az_vm_extension_set) to install IIS on the virtual machine.
14091409
14101410
```azurecli-interactive
14111411
az vm extension set \
@@ -1527,7 +1527,7 @@ Use Microsoft Edge to connect to the web server on **vm-spoke-1** you installed
15271527
15281528
# [**CLI**](#tab/cli)
15291529
1530-
Use [az group delete](/cli/azure/group?view=azure-cli-latest#az_group_delete) to delete the resource group.
1530+
Use [az group delete](/cli/azure/group#az_group_delete) to delete the resource group.
15311531
15321532
```azurecli-interactive
15331533
az group delete \

0 commit comments

Comments
 (0)