Question: How to configure the Hub and Spoke DIA ?
Answer:
This article discusses Hub and Spoke DIA configuration. At first, default route configuration is installed in the Hub and the same is enabled on the Spoke as well. This is how Spoke learns its default route from Hub and makes the preferred path for the Spoke by default. Once the Hub and Spoke is all set up and Hub has the internet access, the Spoke group can be enabled with local DIA which is less preferred. The local DIA comes into picture only when the Hub DIA is interrupted.
To configure the virtual router:
In the Versa Director, Select Configuration > Templates > Device Templates > Networking> Virtual Routers and click
to configure the Virtual Router and click OK.

To configure the BGP for default DIA:

Select Peer/Group Policy tab and click
to add Peer/Group Policy.

Select Add BGP Instance > Add Peer/Group Policy then enter Name and click
.


Enter these details and click OK.
| Field | Description |
| Action | |
| Accept/Reject | Indicates whether the route is to be accepted or rejected:
|
| Local Preference | A BGP attribute used to choose the outbound external BGP path. |
Run the show route routing-instance <Test> CLI command to see the default configuration learnt from the hub.
To configure the BGP for low preference DIA:




