The Distributed Logical router (DLR) must establish a connection to the Edge Services Gateways before BGP updates can be exchanged. Verify that peering is successful and BGP routing has been established.


  1. Log in to the DLR by using a Secure Shell (SSH) client.
    1. Open an SSH connection to nyc01r01dlr01.
    2. Log in using the following credentials.



      User name




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

    The BGP State shows Established, UP if you have successfully peered with the Edge Service Gateway.

  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 BGP networks:,,, and You can identify BGP networks by the letter B in the left-side column. Lines beginning with C (connected) have only a single route.