Command Reference Guide
3Com Router 5000 Family and Router 6000 Family tracert ● 419
Command Reference
tracert
Purpose Use the tracert command to trace the gateways by which a packet passes from
source to destination for network connectivity test and fault location.
Syntax tracert [ -a X.X.X.X | -f first_TTL | -m max_TTL | -p port | -q nqueries
| vpn-instance vpn-instance-name | -w timeout ] * host
Parameters -a X.X.X.X
Specifies the source IP address in this trace. It is in the
format of X.X.X.X and must be the address of a local
interface.
-f first_TTL
Tests the correctness of the –f switch. first_TTL
specifies an initial TTL in the range 0 to maximum TTL.
-m max_TTL
Tests the correctness of the –m switch. max_TTL
specifies a maximum TTL, which can be any TTL larger
than the initial TTL.
-p port
Tests the correctness of the –p switch. port is an
integer specifying a port on the destination host.
Normally, you need not to change this option.
-q nqueries
Tests the correctness of the –q switch with nqueries
specifying the number of the query packets sent each
time. It can be any integer greater than zero.
vpn-instance
vpn-instance-name
Sets the vpn-instance name of MPLS VPN,
specifying the VPN attribute configured in this tracert
command, that is, name of the associated
vpn-instance created locally.
-w timeout
Tests the correctness of the -w switch. timeout
specifies the timeout time of IP packets. It is in seconds
and can be any integer larger than zero.
host
IP address of the destination host.
Default The following are default settings that apply when none of the parameters is
specified:
The parameters -a and vpn-instance are not specified.
first_TTL is 1.
max_TTL is 30.
port is 33434.
nqueries is 3.
timeout is 5 seconds.