1. With admin privileges, log in to NSX Manager.
  2. Select Networking > Tier-0 Gateways.
  3. Click the menu icon (three dots) for the tier-0 gateway and select Edit.
  4. Expand the BGP section.
  5. Click the BGP toggle to enable BGP.
  6. Enter the Local AS number.
  7. Configure BGP neighbors.
    1. For BGP Neighbors, click Set > Add BGP Neighbor.
    2. Enter the IP address of the neighbor.
    3. Enable BFD if required.
    4. Enter the Remote AS number of the neighbor.
    5. For Source Addresses, enter the source IP address.
      There should be one or more addresses of created external interfaces or loopback.
    6. For Route Filter, click Set > Add Route Filter.
      1. For IP Address Family, select L2VPN EVPN.
      2. Specify the desired maximum routes.
      3. Click Add and then Apply.
  8. Click Save and then Close.