Advertising specific subnets over SDWAN
We have four subnets and we have defined static route to each subnet in Branch1 LAN-VR. We want to advertise first two subnet to Branch2 through SDWAN.

Prerequisite
1. Director and controller should be deployed.
2. Branches on boarded, tunnel interface (ptvi) should be up
3. There should be reachability between LAN interfaces of Branch1 and Branch2
Configuration Procedure:
Step1: Go to Configuration tab, select Tenant1 and click Branch1

Step 2: Select Virtual Routers and click Tenant1-LAV-VR

Step 3: Select Static routing and click on + button to add static routes

Enter Destination network, choose Next hop interface as vni-0/2 (the LAN side interface of the CPE) and Next hop ip address. Then click OK

Similarly, configure other static routes as above

Step 4: Select prefix list and click on + button to add new prefix list.

Enter prefix list name and click + button to add sequences to the list

Enter sequence number, select action (permit/deny), IP address and mask. Click OK

Similarly, create sequences for other IP addresses. Here we are permitting subnets 192.168.10.0/24 and 192.168.20.0/24 only.

Click OK.

Step 5: Select Redistribution Policies tab and click on Default-Policy-To-BGP from the list of policies shown.

Click on + button to add new redistribution policy entry.

Enter a name for policy, select protocol as static, select prefix filter List-1, then click OK

Now we have completed all necessary configuration. We can verify the result by login in to Branch’s console.
On Branch1 we can see static routes in Tenant1-LAN-VR by command
cli> show route routing-instance Tenant1-LAN-VR

Also, we can see routes advertised from Branch1 to Branch 2 through SDWAN by command
cli> show route table l3vpn.ipv4.unicast routing-instance Tenant1-Control-VR advertising protocol bgp

Similarly on Branch2 we can see routes received
cli> show router routing-instance Tenant1-LAN-VR
