After I completed my NSX configuration on my VMware Cloud Foundation (VCF) 9 lab, I realized that I didn’t post how I configured the Unifi dream machine pro router to work with NSX. I know it took me a ton of searching and trials to finally get that configuration to work properly so I wanted to provide my setup for others to utilize.
First let me thank Manuel Billmaier, as his original blog post helped me figure out the frr file contents that are need for the router. You can view that post here.
So the first thing we will need is a frr configuration file that will be uploaded to our unifi udm pro router, an example of that is below.

With that configuration file, we login to the udm web interface. I wanted to point out that I am running version 5.0.5 on my udm pro for the control plane and the network version is 10.0.161.

Click on the Settings icon in the bottom left

Then click on the Policy Table icon underneath Policy Engine.

Now we click on Dynamic Routing.

Click on Create New Route.

Click the radio button next to BGP and enter in a name for the route and click the drop down to select the router device.

Now click the Upload link and select the configuration file to upload to the router. Through my various searches I found that naming this file frr.conf like it instructed caused it to not work properly so I found a post about naming it something else which my file is named bgp.conf

Then click Add to finish the route creation.

The route will be added and show Enabled status.

I have found that the only way to really determine if this works is to ssh into the udm router and view the bgp configuration. So I opened up a Putty session and logged into the router. If you are not sure how to enable ssh on the udm pro, check out this Youtube video for a walkthrough.

Then we need to connect to the frr session on the router by entering vtysh and pressing Enter.

Since I already have NSX configured and running I will see advertisements already established, if you don’t have something running you will not see any neighbors yet.
I ran a show ip bgp summary command to see the neighbors that are connected to the router.

That is how we setup bgp on the unifi dream machine pro router.
Follow along with my VCF 9 lab journey.
