Hà Nội: NTT03, Line 1, Thống Nhất Complex, 82 Nguyễn Tuân, Thanh Xuân, Hà Nội. ● HCM: Số 31B, Đường 1, Phường An Phú, Quận 2 (Thủ Đức), TP HCM. ===> Đơn Vị Hàng Đầu Trong Lĩnh Vực Cung Cấp Thiết Bị Security - Network - Wifi - CCTV - Conference - Máy chủ Server - Lưu trữ Storge.
Danh mục sản phẩm

Traceroute Function

The traceroute function is used to view the gateways passed by the packet from the source to the destination. It is mainly used to check whether the destination is reachable and analyze the faulty network node. The executing process of traceroute is: First send one IP packet with TTL 1 to the destination host; the first-hop gateway drops the packet and returns one ICMP timeout error packet. In this way, traceroute gets the first gateway address in the path. And then traceroute sends one packet with TTL 2. In this way, get the address of the second-hop gateway. Continue the process until reaching the destination host. The UDP port number of the traceroute packet is the port number of the destination that cannot be used by any application program. After the destination receives the packet, return one error packet of the port unreachable. In this way, get all gateway addresses on the path.

Configuration Condition

None

Traceroute

Table 1-5 traceroute

Step

Command

Description

View the gateways passed by the packet from the source to the destination

traceroute [vrf vrf-name ] {{ip host-name | ip-address} | {ipv6 host-name | ipv6-address} | host-name | ip-address | ipv6-address } [ -f start-ttl] [ -w wait-time] [ -m max-ttl]

Mandatory

Interactive traceroute

Table 1-6 Interactive traceroute

Step

Command

Description

Enter the traceroute interactive mode

traceroute [ vrf vrf-name ]

Mandatory

In the privileged user mode, execute the command to enter the traceroute interactive mode.

Configure the network protocol type

Protocol [ ip ]:[ ip | ipv6]

Optional

By default, Use the IPv4 protocol.

Configure the destination IP address or host name

Target IP address or hostname:{ ip-address | host-name }

Mandatory

Configure the source IP address or egress interface of the traceroute packet

Source address or interface:{ ip- address | interface-name }

Optional

By default, do not specify the source IP address or egress interface of the packet

Configure the timeout for waiting for each detection packet response

Timeout in seconds [3]: timeout

Optional

By default, time out after 3s.

Configure the times of sending the detection packet with the same TTL value

Probe count [3]: probe-count

Optional

By default, send for three times.

Configure the minimum TTL value of the detection packet

Minimum Time to Live [1]:min-ttl

Optional

By default, the minimum TTL value is 1.

Configure the maximum TTL value of the detection packet

Maximum Time to Live [30]:max- ttl

Optional

By default, the maximum TTL value is 30.

Configure the destination UDP port number of the detection packet

Port Number [33434]:port-number

Optional

By default, the destination port number is 33434.

Configure the extended option, loose source route option, strict source route option, record route, record timestamp, display details

Loose, Strict, Record, Timestamp, Verbose[ none ]:[ l | s ] [ r / t / v ]

Optional, only IPv4 protocol supports the command.

By default, do not configure the option.