System Administration > System > Network

traceroute <ip-address> [source <ip-address>] [maxttl <number>] [vrfid <vrf-id>]

Trace the route to the specified IP address. The maxttl specifies the maximum time-to-live, or maximum number of routers the traceroute packet will traverse.

The vrfid argument specifies which VRF to send the traceroute packets from. You can get a list of available VRFs with the get logical-routers command.

The source argument specifies which source IP address to use for traceroute. This may be required in some circumstances for traceroute to work as expected. For example, if there is overlap in IP addresses used in the tier 0 and tier 1 router transit subnets, traceroute packets from the tier 0 VRF will not reach virtual machines on networks routed by the tier 1 router. If you use the source argument to specify a unique IP used by that VRF (in this case, the tier 0 uplink IP) the traceroute packets will reach the virtual machines.

Parameters:

Option Description
<ip-address> Network IP address argument
<number> Number argument
Allowed pattern: ^[0-9]+$
<vrf-id> VRF ID argument
Allowed pattern: ^[0-9]+$


Example:

nsx-edge-1> traceroute 172.16.110.11 source 192.168.130.3 vrfid 3 edge-tracert to 172.16.110.11 (172.16.110.11) from VRF 3, 64 hops max, 52 byte packets 1 100.64.1.1 (100.64.1.1) 0.560 ms 0.261 ms 0.366 ms 2 172.16.110.11 (172.16.110.11) 3.544 ms 5.696 ms 3.928 ms

Mode:

Basic

Availability: