Use CLI to verify that the ECMP routing connection to neighbor is established.

Prerequisites

Verify that ECMP routing is configured. See Add an Uplink Port for the Second Edge Node and Add a Second BGP Neighbor and Enable ECMP Routing.

Procedure

  1. Log in to the NSX Manager CLI.
  2. Get the distributed router UUID information.

    get logical-routers

    Logical Router
    UUID        : 736a80e3-23f6-5a2d-81d6-bbefb2786666
    vrf         : 2
    type        : TUNNEL
    
    Logical Router
    UUID        : d40bbfa4-3e3d-4178-8615-6f42ea335037
    vrf         : 4
    type        : SERVICE_ROUTER_TIER0
    
    Logical Router
    UUID        : d0289ba4-250e-41b4-8ffc-7cab4a46c3e4
    vrf         : 5
    type        : DISTRIBUTED_ROUTER
    
    Logical Router
    UUID        : a6ee6316-2212-4171-99cc-930c98bcad7f
    vrf         : 6
    type        : DISTRIBUTED_ROUTER
    
  3. Locate the UUID information from the output.
    Logical Router
    UUID        : d0289ba4-250e-41b4-8ffc-7cab4a46c3e4
    vrf         : 5
    type        : DISTRIBUTED_ROUTER
  4. Type the VRF for the tier-0 distributed router.

    vrf 5

  5. Verify that the tier-0 distributed router is connected to the Edge nodes.

    get forwarding

    For example, edge-node-1 and edge-node-2.

  6. Enter exit to leave the vrf context.
  7. Open the active controller for the tier-0 logical router.
  8. Verify that the tier-0 distributed router on the controller node is connected.

    get logical-router <UUID> route

    The route type for the UUID should appear as NSX_CONNECTED.

  9. Start a SSH session on the two Edge nodes.
  10. Start a session to capture packets.

    set capture session 0 interface fp-eth1 dir tx

    set capture session 0 expression src net <IP_Address>

  11. Navigate to the Control Center and double click the httpdata11.bat and httpdata12.bat scripts.

    A large number of HTTP requests to both Web VMs is sent and you see traffic hashed to both paths using the Edge nodes, which shows that ECMP is working.

  12. Stop the capture session.

    del capture session 0

  13. Remove the bat scripts.