@@ -5,7 +5,7 @@ author: halkazwini
5
5
ms.author : halkazwini
6
6
ms.service : route-server
7
7
ms.topic : tutorial
8
- ms.date : 07/10 /2024
8
+ ms.date : 07/11 /2024
9
9
---
10
10
11
11
# Tutorial: Configure BGP peering between Azure Route Server and network virtual appliance (NVA)
@@ -178,24 +178,24 @@ In this section, you configure BGP settings on the VM so it acts as an NVA and c
178
178
179
179
1 . In PowerShell, execute the following cmdlets:
180
180
181
- ``` powershell
182
- # Install required Windows features.
183
- Install-WindowsFeature RemoteAccess
184
- Install-WindowsFeature RSAT-RemoteAccess-PowerShell
185
- Install-WindowsFeature Routing
186
- Install-RemoteAccess -VpnType RoutingOnly
187
-
188
- # Configure BGP & Router ID on the Windows Server
189
- Add-BgpRouter -BgpIdentifier 10.0.0.4 -LocalASN 65001
190
-
191
- # Configure Azure Route Server as a BGP Peer.
192
- Add-BgpPeer -LocalIPAddress 10.0.0.4 -PeerIPAddress 10.0.1.4 -PeerASN 65515 -Name RS_IP1
193
- Add-BgpPeer -LocalIPAddress 10.0.0.4 -PeerIPAddress 10.0.1.5 -PeerASN 65515 -Name RS_IP2
194
-
195
- # Originate and announce BGP routes.
196
- Add-BgpCustomRoute -network 172.16.1.0/24
197
- Add-BgpCustomRoute -network 172.16.2.0/24
198
- ```
181
+ ``` powershell
182
+ # Install required Windows features.
183
+ Install-WindowsFeature RemoteAccess
184
+ Install-WindowsFeature RSAT-RemoteAccess-PowerShell
185
+ Install-WindowsFeature Routing
186
+ Install-RemoteAccess -VpnType RoutingOnly
187
+
188
+ # Configure BGP & Router ID on the Windows Server
189
+ Add-BgpRouter -BgpIdentifier 10.0.0.4 -LocalASN 65001
190
+
191
+ # Configure Azure Route Server as a BGP Peer.
192
+ Add-BgpPeer -LocalIPAddress 10.0.0.4 -PeerIPAddress 10.0.1.4 -PeerASN 65515 -Name RS_IP1
193
+ Add-BgpPeer -LocalIPAddress 10.0.0.4 -PeerIPAddress 10.0.1.5 -PeerASN 65515 -Name RS_IP2
194
+
195
+ # Originate and announce BGP routes.
196
+ Add-BgpCustomRoute -network 172.16.1.0/24
197
+ Add-BgpCustomRoute -network 172.16.2.0/24
198
+ ```
199
199
200
200
## Configure Route Server peering
201
201
0 commit comments