First we discuss various available properties of Ping in privileged mode. The default value for each property is displayed in parentheses.
Protocol requires a test protocol. Target Address test target address. Repeat Count If there is a time failure or the response time is too slow, the number of pings is repeated. DataGram size can increase the size of the packet if you suspect that the message is lost due to the delay of too long or the segmentation failure. For example, we can use 1600 bytes of packets to force segmentation. Timeout If it is suspected that the timeout is due to the slow response rather than the packet loss, it can improve this value. The Extended Commands Answer OK to get the extended property. Source Address must be the address of the router interface. Type of Service usually defaults to 0 based on the properties specified by RFC 791 TOS. SET DF BIT IN IP HEADER? By setting the DF bit to disable segmentation, even if the message exceeds the MTU defined by the router, it is disabled. Data Pattern [0xAbcd] can test the noise of the line by changing the data mode. LOOSE, Strict, Record, TimeStamp, Verbose [NONE] are all properties of IP packet headers. Generally only use the Record property and Verbose, other properties are rarely used. Record can be used to record the address of each hop message, and the Verbose property gives each response response time. . Sweep Range of Sizes [N] This property is primarily used to test large packets being lost, the processing speed is too slow or the segment failure is failed.
Extend ipx ping extension IPX ping also allows users to modify parameters, such as packet size and repetition. Another enhancement attribute of ping in user mode is the Novell Standard Echo property. Using this property, users can ping the workstation of IPX. If this property is disabled, the Novell IPX device will not respond to ping because they do not support the Cisco ProPrietary IPX PING protocol. Users can modify the properties of the device to support this feature.
The extended AppleTalk ping extended AppleTalk ping command is an enhancement of ping in user mode, which is similar to the extended IPX PING. Like IP and IPX extending ping, users can also select attributes such as Verbose.
3.4 Trace Command
The trace command provides information on each jump of the router to the destination address. It is implemented by controlling the Survival (TTL) field of IP packets. TTL is equal to 1 ICMP response request message will be first sent. The first router on the path will discard the message and send a message to the error message. Error messages are typically ICMP timeout messages, indicating that the packet is successfully reached, or the port is unreachable message, indicating that the packet has been received by the destination address but cannot be transferred to the IP protocol stack.
In order to obtain information of the round trip delay time, Trace sends three packets and displays the average delay time. Then add the TTL field of the message to 1 and send 3 messages. These messages will arrive on the second router of the path and return timeout errors or ports that are unreachable messages. Use this method repeatedly, increasing the value of the TTL field of the message until the response message of the destination address is received.
In some cases, using the trace command may cause a fault. Because there is a bug associated with the trace command in iOS. The related information of these bugs can be obtained from CCO. Another problem is that some target sites do not respond to ICMP ports. This type of site may be encountered when the output of the command displays a series of asterisks (*). Users can use the CTRL-SHIFT-6 interrupt command. User Execution Mode The output of a simple trace command executed in user execution mode is shown. The distance to the destination is 3 hops. The response message of the three packets of the TTL value of 1 is an ICMP timeout error, and there are two IP addresses returned to the message. Because router 1 and router 2 are in the same network segment, they are hop from the distance to router 3, so these routers are responding to packets. Router3 # trace 171.144.1.39 Type escape sequence to abort. Tracing the route to Router9 (171.144.1.39) 1 Router2 (165.48.48.2) 0 msec Router2 (165.48.48.2) 0 msec Router1 (165.48.48.1) 0 msec 2 165.48. 48.129 12 msec router6 (165.48.49.129) 12 msec 12 msec 3 router4 (171.133.1.2) 12 msec 12 msec router9 (171.141.39) 12 msec 12 msec router3
The following list lists different characters and its meaning in the output of the IP trace command: XY MSEC is timeout timeout before receiving the response message? The type of message cannot recognize that the U port is unreachable P protocol unacaped N network is not resistant to h host is not reaching Q ICMP source suppression
Privilege Mode Extended Trace Use Many properties for extending the ping command can be used to extend the functionality of the trace command. The special properties of the extended trace command are:
Numeric Display In the light of the default, the output of the trace command includes both IP addresses and its corresponding DNS domain names. This property can be used if the user does not need to display the DNS domain name.