The NSX Edge devices must establish a connection to each of the upstream BGP switches before BGP updates can be exchanged. Verify that the NSX Edge devices are successfully peering and that BGP routing has been established.

Procedure

  1. Log in to the NSX Edge device using a Secure Shell (SSH) client.
    1. Open an SSH connection to the NSX Edge device nyc01r01esg01.
    2. Log in using the following credentials.

      Setting

      Value

      User name

      admin

      Password

      edge_admin_password

  2. Run the show ip bgp neighbors command to display information about the BGP connections to neighbors.

    The BGP State shows Established, UP if you have peered with the upstream switches.

    Note:

    You have not yet created the distributed logical router (DLR) and it does not appear as a BGP neighbor.

  3. Run the show ip route command to verify that you are receiving routes using BGP, and that there are multiple routes to BGP learned networks.

    You verify multiple routes to BGP learned networks by locating the same route using a different IP address. The IP addresses are listed after the word via in the right-side column of the routing table output. In the following image there are two different routes to the following BGP networks: 0.0.0.0/0 and 172.27.22.0/24. You can identify BGP networks by the letter B in the left-side column. Lines beginning with C (connected) have only a single route. 

  4. Repeat this procedure for the NSX Edge device nyc01r01esg02.