You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/route-server/configure-route-server.md
+29-1Lines changed: 29 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -293,9 +293,37 @@ az network routeserver peering show --name 'myNVA' --resource-group 'myResourceG
293
293
294
294
295
295
---
296
+
## View routes that Route Server learns
296
297
298
+
Navigate to **Effective Routes** under **Routing** to see the list of effective routes that Route Server learns from ExpressRoute connections, VPN connections, NVA BGP peers, and spoke virtual networks.
297
299
298
-
## View advertised and learned routes
300
+
### <aname="output"></a>View output
301
+
302
+
The page output shows the following fields:
303
+
304
+
***Prefix**: Address prefix known to the current entity (learned from Route Server)
305
+
***Next hop type**: Can be VPN, HubBgpConnection (NVAs deployed in the hub VNet), Virtual Network Connection, or ExpressRoute.
306
+
***Next hop**: This is the IP address of the next hop (This will be "on-link" for Virtual Network connections)
307
+
***Origin**: Link to the resource ID of the next hop (This will be empty for Virtual Network Connections)
308
+
***AS Path**: BGP Attribute AS (autonomous system) path lists all the AS numbers that need to be traversed to reach the location where the prefix that the path is attached to, is advertised from.
309
+
310
+
311
+
### <aname="example"></a>Example
312
+
313
+
The values in the following example table imply that Route Server has learned the route of 10.2.0.0/24 (a branch prefix). It has learned the route due to the **VPN Next hop type** with **Next hop** VPN Gateway resource ID. **Route Origin** points to the resource ID of the originating VPN gateway/Route table/Connection. **AS Path** indicates the AS Path for the branch.
314
+
315
+
Use the scroll bar at the bottom of the table to view the 'AS Path'.
316
+
317
+
|**Prefix**|**Next hop type**|**Next hop**|**Origin**|**AS Path**|
318
+
| --- | --- | --- | --- | --- |
319
+
| 10.2.0.0/24| VPN |10.0.2.14|/subscriptions/`<sub id>`/resourceGroups/`<resource group name>`/providers/Microsoft.Network/virtualNetworkGateways/vpngw| 20000|
320
+
321
+
322
+
> [!NOTE]
323
+
> If a spoke VNet is peered with "use remote gateway" disabled, the spoke VNet's address range may still get advertised to on-premises even if the prefix does not appear in the **Effective Routes**.
324
+
325
+
326
+
### View advertised and learned routes to BGP peers
299
327
300
328
In this section, you learn how to view the routes that your route server advertises to BGP peers and the routes it learns from those peers. This information is useful for troubleshooting routing issues and understanding traffic flow.
0 commit comments