Skip to content

Commit f155181

Browse files
authored
Update create-bgp-peering-hub-powershell.md
adding how to checked BGP learned route
1 parent 55fd6dc commit f155181

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,13 @@ Update an existing hub BGP peer connection.
7575
```azurepowershell-interactive
7676
Update-AzVirtualHubBgpConnection -ResourceGroupName "[resource group name]" -VirtualHubName "westushub" -PeerIp 192.168.1.6 -PeerAsn 20000 -Name "testBgpConnection" -VirtualHubVnetConnection $hubVnetConnection
7777
```
78+
## BGP learned route in HUB
7879

80+
check BGP learned route in HUB
81+
82+
```
83+
Get-AzRouteServerPeerLearnedRoute -ResourceGroupName $resourceGroupName -RouteServerName $HubName -PeerName $peerName
84+
```
7985
## Delete a BGP peer
8086

8187
Remove an existing hub BGP connection.

0 commit comments

Comments
 (0)