Cisco SD-WAN Hub & Spoke, Mesh Policies Lab
Cisco SD-WAN Hub & Spoke, Mesh Policies Lab
Cisco SD-WAN Hub & Spoke, Mesh Policies Lab
VPN. We have two Service VPNs, VPN1 and VPN2. You are going to configure Hub
and Spoke for VPN1 and mesh connectivity for VPN2.
This lab requires VPN2 in B1-R1 and B2-R1 that is created as a part of VPN
Segmentation Lab.
Perform VPN Segmentation lab before going through this lab or create VPN2 in B1-
R1 by moving ge0/3 to VPN2 and create loopback interface in VPN2 of B2-R1 with
IP address 10.3.2.1/24
Full Mesh
By default, SD-WAN forms full mesh connectivity between all the sites.
Navigate to Monitor>Network
Select B1-R1
Trace to 10.1.1.100 from VPN1 and select a source interface from VPN1.
Similarly, perform the trace to B2-R1 service VPN1 interface IP address 10.3.1.1
Notice the Path, B1-R1 > B2-R1
This verification shows that the default topology for all the VPNs is Full Mesh i.e.,
Branch1 is sending traffic to Branch2 with out traversing the DC.
Let’s create a static default route (to null0) for the lab purpose and
OMP will advertise this to all other sites.
Navigate to Configuration>Templates>Feature
We need to create a default route in Service VPN of DC (Hub)
devices. Let’s identify the devices attached VPN1 feature template.
Click Next
Select a device from the device list to preview the configuration.
Confirm and OK
Wait until the template push is successful.
Verification
Let’s verify if branch WAN edges received the default route from DC
(Hub).
Navigate to Configuration>Policies
Click on Add Policy
Creating Lists:
Lists are used to match the traffic.
Site Lists:
Create Sites using the below list.
Site Name
Site ID
DC
Site Name site ID
DC 10
B1 100
B2 200
Refer below screenshots to create the site list.
TLOC IP Color
192.168.1.101 Biz-internet
192.168.1.101 Mpls
192.168.1.102 Biz-internet
192.168.1.102 Mpls
Refer below screenshots to create the TLOC list.
The completed TLOC list should be like the below list.
VPN List:
VPN2 2
Click Next.
Topology: Hub-and-Spoke
Select Hub-and-Spoke from Add Topology drop down menu.
Name: VPN1-HS
Description: VPN1-HS
To add hub, Click on Add Hub Sites and select DC and then click Add.
To add Branch1, Click on Add Spoke Sites and select B1 and then click Add.
To add Branch2, Click on Add Spoke Sites again and select B2 and then click Add.
Policy Name: LearnEdze-Policy
Policy Description: LearnEdze-Policy
Save Policy
Click on Activate
Wait until the policy push to the vSmart is completed.
Verification
From B1-R1 VPN1, perform trace to a host in the DC Network. In this case
10.1.1.100
From B1-R1 VPN1, perform trace to B2-R1’s VPN1 interface IP address. In this case
10.3.1.1
Notice the change in the path to B2-R1 from B1-R1. Now it is traversing via DC
(Hub)
Let’s verify the VPN2 traffic from B1-R1 to B2-R1.
We have created Hub-and-Spoke policy for VPN1 only. However, this policy breaks
TLOCs for all the VPNs by default.
Notice that B1-R1 has only connected route in VPN2 routing table.
Verify if it is receiving B2-R1’s TLOCs via OMP.
Mesh Policy
Navigate to Configuration>Policies
From top right-hand side, click on Custom Options and select Topology
Configure below:
Name: VPN2-Mesh
Description: VPN2-Mesh
VPN List: VPN2
To create a Mesh region, click on New Mesh Region and configure below.
Mesh Region Name: VPN2-Mesh
Site List: B1 & B2
Click Add
Verification
Let’s verify VPN2 Routes in B1-R1.
Do Not Filter.
Perform the below traceroute and notice that VPN2 communication is successful.
Perform the below traceroute and notice that VPN1 communication between
Branch1 and Branch2 is traversing via DC.