15-6
tracert
Syntax
tracert
[
-a
source-ip
|
-f
first-ttl
|
-m
max-ttl
|
-p
port
|
-q
packet-number
|
-vpn-instance
vpn-instance-name
|
-w
timeout
] *
remote-system
View
Any view
Default Level
0: Visit level
Parameters
-a
source-ip
: Specifies the source IP address of a tracert packet. It must be a legal IP address
configured on the device.
-f first
-
ttl
: Specifies the first TTL, that is, the allowed number of hops for the first packet, in the range 1
to 255. It defaults to 1 and must be less than the maximum TTL.
-m max
-
ttl
: Specifies the maximum TTL, that is, the maximum allowed number of hops for a packet, in
the range 1 to 255. It defaults to 30, and must be greater than the first TTL.
-p port
: Specifies the UDP port number of the destination device, in the range 1 to 65535. The default
value is 33434. You do not need to modify this parameter.
-q
packet-number
: Specifies the number of probe packets sent each time, in the range 1 to 65535. The
default value is 3.
-vpn-instance vpn-instance-name
: Specifies the name of an MPLS VPN instance, which
is a string of
1 to 31 characters.
-w timeout
: Specifies the timeout time of the reply packet of a probe packet, in the range 1 to 65535, in
milliseconds. The default value is 5000 ms.
remote-system
: IP address or host name (a string of 1 to 20 characters) of the destination device.
Description
Use the
tracert
command to trace the path the packets traverse from the source to the destination
device.
After having identified network failure with the
ping
command, you can use the
tracert
command to
determine the failed node(s).
Output information of the
tracert
command includes IP addresses of all the Layer 3 devices the
packets traverse from the source to the destination device. If a device times out, "* * *" will be
displayed.
During the execution of the command, you can press
Ctrl+C
to abort the tracert operation.
Examples
# Display the path the packets traverse from the source device to the destination device with an IP
address of 18.26.0.115.
<Sysname> tracert 18.26.0.115
traceroute to 18.26.0.115(18.26.0.115) 30 hops max,40 bytes packet, press CTRL_C to break
1 128.3.112.1 10 ms 10 ms 10 ms
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...