Tracert - H3C S3100-52P Command Manual

System maintenance and debugging
Hide thumbs Also See for S3100-52P:
Table of Contents

Advertisement

Command Manual – System Maintenance and Debugging
H3C S3100-52P Ethernet Switch
--202.38.160.244 ping statistics--
5 packet transmitted
5 packet received
0% packet loss
round-trip min/avg/max = 1/2/3 ms

2.1.2 tracert

Syntax
tracert [ -a source-ip ] [ -f first-ttl ] [ -m max-ttl ] [ -p port ] [ -q num-packet ] [ -w timeout ]
string
View
Any view
Parameter
-a source-ip: Sets the source IP address used by this command.
-f first-ttl: Sets the initial TTL of the packets to be sent, so that this command displays
the addresses of only those gateways on the path whose hop counts are not smaller
than the hop count specified by the first-ttl argument. For example, if the first-ttl
argument is three, the command displays the addresses of the gateways from the third
hop The first-ttl argument ranges from 1 to 255 and defaults to 1.
-m max-ttl: Sets the maximum TTL value of the packets to be sent. After the command
sends a packet with the maximum TTL, it will not send any more packets. With this
argument, this command displays the addresses of only those gateways from the
source destination to the hop count specified by the argument. For example, if the
max-ttl argument is 5, the command displays the addresses of the gateways from the
source to the fifth count. The max-ttl argument ranges from 1 to 255 and defaults to 30.
-p port: Sets the destination port of the packets to be sent. The port argument ranges
from 0 to 65535 and defaults to 33434. Generally, you need not change the argument.
-q num-packet: Sets the number of packets to be sent every time. The nqueries
argument ranges from 0 to 65,535 and defaults to 3.
-w timeout: Sets the timeout time to wait for ICMP error packets. The timeout argument
ranges from 0 to 65,535 and defaults to 5,000 (in milliseconds).
string: IP address of the destination host, or host name of the remote system with 1 to
20 characters.
Description
Use the tracert command to trace the gateways the test packets passes through during
its journey from the source to the destination. This command is mainly used to check
the network connectivity. It can help you locate the trouble spot of the network.
Chapter 2 Network Connectivity Test
2-3
Commands

Advertisement

Table of Contents
loading

Table of Contents