xStack
The Trace Route commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in
the following table.
Command
traceroute
traceroute6
Each command is listed, in detail, in the following sections.
traceroute
Purpose
Syntax
Description
Parameters
Restrictions
Example usage:
To trace the routed path between the switch and 10.48.74.121:
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
Parameters
[<ipaddr> | <domain_name 255>] {ttl <value 1-60> | port <value 30000-64900> |
timeout <sec 1-65535> | probe <value 1-9>}
<ipv6addr> {ttl <value 1-60> | port <value 30000-64900> | timeout <sec 1-
65535> | probe <value 1-9>}
This command is used to trace the routed path between the switch and a destination end
station.
traceroute [<ipaddr> | <domain_name 255>] {ttl <value 1-60> | port <value 30000-
64900> | timeout <sec 1-65535> | probe <value 1-9>}
To track the route of an IP packet, traceroute launches UDP probe packets with a small TTL
(time to live) and then listens for an ICMP "time exceeded" reply from a gateway. Probes start
with a TTL of one and increase by one until either an ICMP "port unreachable" is returned,
indicating that the packet reached the host, or the maximum number of hops is exceeded. At
each TTL setting, one probe packet is launched (the number can be changed by specifying
the parameter "probe") and traceroute prints a line showing the round trip time and the
address of the gateway of each probe, or time out of each probe. If there is no response
within the 5 seconds timeout interval, an asterisk (*) is printed for that probe.
ipaddr - IP address of the destination end station.
<domain_name 255> - The domain name of the destination end station.
ttl <value 1-60> - The time to live value of the trace route request. This is the maximum
number of routers that a trace route packet can cross, while seeking the network path
between two devices. The range for the TTL is 1 to 60 hops.
port <value 30000–64900> - Specify the destination UDP port number. The UDP port range
is from 30000 to 64900.
timeout <sec 1-65535> - Define the timeout period while waiting for a response from the
remote device. A value of 1 to 65535 seconds can be specified. The default is 5 seconds.
probe <value 1-9> - Specify the number of probe packets for each TTL. The default is 1.
Note: The probe will be terminated once the destination is reached.
Only Administrator and Operator-level users can issue this command.
TRACE ROUTE COMMANDS
697
97
Need help?
Do you have a question about the xStack and is the answer not in the manual?
Questions and answers