Command Manual (For Soliton) – System Maintenance and Debugging
H3C S3100 Series Ethernet Switches
Chapter 2 Network Connectivity Test
Commands
2-3
Reply from 202.38.160.244 : bytes=56 sequence=2 ttl=255 time = 2ms
Reply from 202.38.160.244 : bytes=56 sequence=3 ttl=255 time = 1ms
Reply from 202.38.160.244 : bytes=56 sequence=4 ttl=255 time = 3ms
Reply from 202.38.160.244 : bytes=56 sequence=5 ttl=255 time = 2ms
--202.38.160.244 ping statistics--
5 packet transmitted
5 packet received
0% packet loss
round-trip min/avg/max = 1/2/3 ms
The above output information indicates that the destination host is reachable. Each
probe packet from the source device has got a reply, with the
minimum/average/maximum packet roundtrip time being 1ms/2ms/3ms.
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
: Specifies the source interface IP address used by this command.
-f first-ttl
: Specifies the initial TTL value of the packets to be sent, so as to only display
the addresses of 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
3, 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
: Specifies 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 only displays the addresses of those gateways from
the source address to hop according 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 hop. The
max-ttl
argument ranges from 1 to 255
and defaults to 30.
-p port
: Specifies 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
: Specifies the number of packets to be sent each time. The
num-packet
argument ranges from 0 to 65,535 and defaults to 3.