Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

The traceroute command is used to check the route of packets when travelling from the source to the destination. When the network fails, the user can use this command to troubleshooting the fault point.


Command Syntax

  •   From the ">" prompt, use the following format,

traceroute <ipv4-address> [vrf <mgmt-vrf vrf-name>]

  •   From the "#" prompt, add run in front of the command,

run traceroute <ipv4-address> [vrf <mgmt-vrf vrf-name>]


Parameter

Parameter

Description

<ipv4-address>

Specifies the domain name or IPv4 address of the destination host.

vrf <mgmt-vrf | vrf-name>

Optional. Specifies a VRF name. The value is a string that could be mgmt-vrf or a user-defined VRF name.

  •   mgmt-vrf: management VRF is specified.
  •   vrf-name: a user-defined VRF set by using command set ip vrf <vrf-name> [description <string>].

NOTE:

  •   When a VRF name is specified, find the next hop routing information from the specified VRF domain.
  •   When no VRF is specified, find the next hop routing information from the default VRF.


Example

  •   Traceroute the gateways for the host with the IP address 10.10.50.11.
admin@Xorplus> traceroute 10.10.50.11
traceroute to 10.10.50.11 (10.10.50.11), 30 hops max, 60 byte packets
 1  bogon (10.10.51.1)  3.063 ms  3.214 ms  3.370 ms
 2  bogon (10.10.50.11)  0.195 ms  0.172 ms  0.201 ms
  • No labels