30
C
HAPTER
2: S
YSTEM
M
AINTENANCE
& M
ANAGEMENT
C
OMMANDS
tracert
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
View
Any view
Parameter
-a: Specifies source IP address of the tracert packets, which is in the format of
X.X.X.X and must be the address of a local interface.
-f: Tests the correctness of the –f switch with first_TTL specifying an initial TTL in
the range of 0 to the maximum TTL.
-m: Tests the correctness of the –m switch with max_TTL specifying a maximum
TTL which can be any TTL larger than the initial TTL.
-p: Tests the correctness of the –p switch with port being an integer specifying the
port of the destination host. There is no need to change this option in normal
circumstances.
-q: Tests the correctness of the –q switch with nqueries specifying the number of
the query packets sent each time. It can be any integer larger than 0.
vpn-instance vpn-instance-name: Sets the vpn-instance name of MPLS VPN to
specify the VPN attribute configured in this tracert command, that is, name of the
associated vpn-instance created at the local.
-w timeout: Tests the correctness of the –w switch with timeout specifying the
timeout time of IP packets. It is in seconds and can be any integer larger than 0.
host: IP address of the destination host.
Description
Using the tracert command, you can test the gateways that a packet sent by the
host will pass by in order to reach the destination for the purpose of testing the
reachability of a network connection and locating the position where faults occur
on the network.
Given no parameters have been specified, by default,
The parameters –a and vpn-instance are omitted;
first_TTL is 1;
max_TTL is 30;
port is 33434;
nqueries is 3;
timeout is 5s.
Содержание Router 3031
Страница 6: ......
Страница 396: ...396 CHAPTER 4 LINK LAYER PROTOCOL Example Set the parameter of X 29 to 10 seconds 3Com x29 timer inviteclear time 10...
Страница 686: ...686 CHAPTER 6 ROUTING PROTOCOL...
Страница 758: ...758 CHAPTER 7 MULTICAST COMMON CONFIGURATION COMMANDS...