Hub BGP signaling
Enabling BGP route steering on the HUB is comprised of the following steps:
- Edit the BGP template to edit neighbor groups VPN1 and VPN2 to create a new Route Map In with new rules for each neighbor group. See Editing the BGP template.
- Edit the SD-WAN template to define which VPN is used based on the received tags. See Editing the SD-WAN template.
- Install the device settings to the branch and hub devices.
Editing the BGP template
Edit the BGP template to edit neighbor groups VPN1 and VPN2 to create a new Route Map In with new rules for each neighbor group. The process:
- Defines router community lists for each of the three (3) communities that may be sent.
- Defining a Route Map In for each VPN to set route tags.
To define router community lists:
- Go to Device Manager > Provisioning Templates > BGP Templates.
- Double-click the ACME SD-WAN Overlay_hub1_bgp template to open it for editing.
- Edit the neighbor group named VPN1 to create a new Route Map In with new rules:
- In the Neighbor Group section, double-click the VPN1 group to open it for editing. The Edit Neighbor Group pane is displayed.
- Under IPv4 Filtering, enable Route Map In.
- Beside Route Map In, click the dropdown box, and click +. The Create New Route Map pane is displayed.
- In the Name box, type VPN1-RouteMap_IN.
- Create a new rule:
- Under Rules, click Create New. The Create New Route Map Rule pane is displayed
- Set the following options:
ID 3 Match Community - Toggle on.
- Click the dropdown, and click +. The Create New Community List pane is displayed.
- Set Name to 65000:1.
- Under Rules, click Create New. The Community List Rule Edit pane is displayed.
- Set ID to 1.
- Set Match to 65000:1, and click OK to save the rule.
- Click OK to save the community list.
- Select the newly created rule named 65000:1 for Match Community.
Set route tag 1
- Click OK to save the route map rule.
- Create another new rule:
- Under Rules, click Create New. The Create New Route Map Rule pane is displayed
- Set the following options:
ID 4 Match Community - Toggle on.
- Click the dropdown, and click +. The Create New Community List pane is displayed.
- Set Name to 65000:2.
- Under Rules, click Create New. The Community List Rule Edit pane is displayed.
- Set ID to 1.
- Set Match to 65000:2, and click OK to save the rule.
- Click OK to save the community list.
- Select the newly created rule named 65000:2 for Match Community.
Set route tag 2
- Click OK to save the route map rule.
- Create a third new rule:
- Under Rules, click Create New. The Create New Route Map Rule pane is displayed
- Set the following options:
ID 5 Match Community - Toggle on.
- Click the dropdown, and click +. The Create New Community List pane is displayed.
- Set Name to 65000:5.
- Under Rules, click Create New. The Community List Rule Edit pane is displayed.
- Set ID to 1.
- Set Match to 65000:5, and click OK to save the rule.
- Click OK to save the community list.
- Select the newly created rule named 65000:5 for Match Community.
Set route tag 5
- Click OK to save the route map rule.
- Click OK to save the route map. The Edit Neighbor Group pane is displayed.
- For Route Map In, select the newly created VPN1-RouteMap_IN, and click OK.
- Repeat this procedure for VPN2, replacing the Route Map In name with VPN2-RouteMap_IN.
You can select the previously created communities when creating the three (3) rules for VPN2.
- Click OK to save the BGP template.
Editing the SD-WAN template
Edit the SD-WAN template to define which VPN is used based on the received tags.
To edit the SD-WAN template:
- Go to Device Manager > Provisioning Templates > SD-WAN Templates.
- Double-click the Hub_SDWAN template to open it for editing.
- Under SD-WAN Rules, define a new rule:
- Click +Create New. The Create New SD-WAN Rule pane is displayed.
- Set the following options, and click OK:
Name
ToBranches_VPN1
Source Address
all
Route Tag
1
Interface Preference
VPN1
- Under SD-WAN Rules, define a second rule:
- Click +Create New. The Create New SD-WAN Rule pane is displayed.
- Set the following options, and click OK:
Name
ToBranches_VPN2
Source Address
all
Route Tag
2
Interface Preference
VPN2
- Click OK to save the template.
- Install the device settings to the branch and hub devices.