Skip to content

Commit 67f95f0

Browse files
Merge pull request #230996 from stegag/patch-52
Update bgp-diagnostics.md
2 parents 841e1d1 + df48a8a commit 67f95f0

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](/rest/api/network-gateway/virtual-network-gateways/get-bgp-peer-status) to retrieve the information. This is an Async operation and will return a 202 status code. You need to fetch the results via a separate 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)