Skip to content

Commit 7c5b32e

Browse files
committed
correct indentation
1 parent 624f624 commit 7c5b32e

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

articles/route-server/peer-route-server-with-virtual-appliance.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: halkazwini
55
ms.author: halkazwini
66
ms.service: route-server
77
ms.topic: tutorial
8-
ms.date: 07/10/2024
8+
ms.date: 07/11/2024
99
---
1010

1111
# 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
178178

179179
1. In PowerShell, execute the following cmdlets:
180180

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+
```
199199
200200
## Configure Route Server peering
201201

0 commit comments

Comments
 (0)