Skip to content

Commit f04289d

Browse files
authored
Update bgp-diagnostics.md
1 parent 3380741 commit f04289d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

articles/vpn-gateway/bgp-diagnostics.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ Use **Get-AzVirtualNetworkGatewayAdvertisedRoute** to view all the routes that t
119119
Get-AzVirtualNetworkGatewayAdvertisedRoute -VirtualNetworkGatewayName gatewayName -ResourceGroupName resourceGroupName -Peer 10.0.0.254
120120
```
121121

122+
## Rest API
123+
124+
You can also use the GetBgpPeerStatus [Rest API call](https://learn.microsoft.com/rest/api/network-gateway/virtual-network-gateways/get-bgp-peer-status) to retrieve the information. Note that this is an Async operation and will return a 202 status code. You will need to fetch the results via and additional GET call. For more information see [Azure-AsyncOperation request and response](./azure-resource-manager/management/async-operations.md#azure-asyncoperation-request-and-response)
125+
122126
## Next steps
123127

124128
For more information about BGP, see [Configure BGP for VPN Gateway](bgp-howto.md).

0 commit comments

Comments
 (0)