Skip to content

Commit 4baa08e

Browse files
committed
Update create-bgp-peering-hub-powershell.md
1 parent 7a798c4 commit 4baa08e

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

articles/virtual-wan/create-bgp-peering-hub-powershell.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to create a BGP peering with Virtual WAN hub router using
55
author: cherylmc
66
ms.service: virtual-wan
77
ms.topic: conceptual
8-
ms.date: 09/06/2022
8+
ms.date: 09/08/2022
99
ms.author: cherylmc
1010

1111
---
@@ -15,35 +15,35 @@ This article helps you configure an Azure Virtual WAN hub router to peer with a
1515

1616
:::image type="content" source="./media/create-bgp-peering-hub-portal/diagram.png" alt-text="Diagram of configuration.":::
1717

18-
### Prerequisites
18+
## Prerequisites
1919

2020
Verify that you've met the following criteria before beginning your configuration:
2121

2222
[!INCLUDE [Before you begin](../../includes/virtual-wan-before-include.md)]
2323

24-
#### Azure PowerShell
24+
### Azure PowerShell
2525

2626
[!INCLUDE [PowerShell](../../includes/vpn-gateway-cloud-shell-powershell-about.md)]
2727

2828
#### <a name="signin"></a>Sign in
2929

30-
[!INCLUDE [sign in](../../includes/vpn-gateway-cloud-shell-ps-login.md)]
30+
[!INCLUDE [Sign in](../../includes/vpn-gateway-cloud-shell-ps-login.md)]
3131

32-
#### Create a virtual WAN
32+
## Create a virtual WAN
3333

3434
```azurepowershell-interactive
3535
$virtualWan = New-AzVirtualWan -ResourceGroupName "testRG" -Name "myVirtualWAN" -Location "West US"
3636
```
3737

38-
#### Create a virtual hub
38+
## Create a virtual hub
3939

4040
A hub is a virtual network that can contain gateways for site-to-site, ExpressRoute, or point-to-site functionality. Once the hub is created, you'll be charged for the hub, even if you don't attach any sites.
4141

4242
```azurepowershell-interactive
4343
$virtualHub = New-AzVirtualHub -VirtualWan $virtualWan -ResourceGroupName "testRG" -Name "westushub" -AddressPrefix "10.0.0.1/24"
4444
```
4545

46-
#### Connect the VNet to the hub
46+
## Connect the VNet to the hub
4747

4848
In this section, you create a connection between your hub and VNet:
4949

@@ -52,7 +52,7 @@ $remote = Get-AzVirtualNetwork -Name "[vnet name]" -ResourceGroupName "[resource
5252
$hubVnetConnection = New-AzVirtualHubVnetConnection -ResourceGroupName "[parent resource group name]" -VirtualHubName "[virtual hub name]" -Name "[name of connection]" -RemoteVirtualNetwork $remote
5353
```
5454

55-
#### Configure a BGP peer
55+
## Configure a BGP peer
5656

5757
Configure BGP peer for the $hubVnetConnection you created.
5858

@@ -68,22 +68,22 @@ $hubVnetConnection = Get-AzVirtualHubVnetConnection -ResourceGroupName "[resourc
6868
New-AzVirtualHubBgpConnection -ResourceGroupName "[resource group name]" -VirtualHubName "westushub" -PeerIp 192.168.1.5 -PeerAsn 20000 -Name "testBgpConnection" -VirtualHubVnetConnection $hubVnetConnection
6969
```
7070

71-
#### Modify a BGP peer
71+
## Modify a BGP peer
7272

7373
Update an existing hub BGP peer connection.
7474

7575
```azurepowershell-interactive
7676
Update-AzVirtualHubBgpConnection -ResourceGroupName "[resource group name]" -VirtualHubName "westushub" -PeerIp 192.168.1.6 -PeerAsn 20000 -Name "testBgpConnection" -VirtualHubVnetConnection $hubVnetConnection
7777
```
7878

79-
#### Delete a BGP peer
79+
## Delete a BGP peer
8080

8181
Remove an existing hub BGP connection.
8282

8383
```azurepowershell-interactive
8484
Remove-AzVirtualHubBgpConnection -ResourceGroupName "[resource group name]" -VirtualHubName "westushub" -Name "testBgpConnection"
8585
```
8686

87-
#### Next steps
87+
## Next steps
8888

8989
For more information about BGP scenarios, see [Scenario: BGP peering with a virtual hub](scenario-bgp-peering-hub.md).

0 commit comments

Comments
 (0)