Configure route redistribution in NSX
Route Redistribution has to be configured for cross-protocol route sharing, meaning a Distributed Logical Router (DLR), or Edge Services Gateway (ESG) is using more than one routing protocol.
Step 1. Log into the vSphere Web Client and navigate to Networking & Security -> NSX Edges and double click the Edge device for which you would like to configure Route Redistribution
Step 2. Select Routing -> Route Redistribution and hit the Edit Button at the top right. Select which protocols you are using, then click OK
Step 3. Optionally, if you have IP Prefixes – Click the + sign under IP Prefixes, specify the Name and IP/Network (CIDR) then click ok.
Step 4. Click the + sign under Route Redistribution table then specify the Prefix (if applicable), Learner Protocol, Allow Learning From and Action then click OK.
Note: Learner protocol is the protocol that will learn the routes from the other protocols. Allow Learning From, will be the protocols from which the routes should be learned.
Step 5. Click Publish Changes