Cisco CCNA mock exam questions sample test – Question 454

Which Cisco IOS command would prompt for input in the following format?

A. ping
B. ping
C. traceroute
D. tracert

Correct Answer: B

The extended ping command prompts the user for input in the format given in this scenario. The extended ping command is accessed by issuing a ping command without specifying an IP address. This causes the ping command to transit into extended ping command mode, where you can specify and modify various parameters, such as packet size, timeout, and repeat count.
The following code is a sample partial output of the extended ping command:
The true value of the extended ping command lies in the ability to ping FROM a different device than the one you are working from. As shown in the above output, you can specify the source address on line 8.
The ping command is incorrect because it sends an ICMP “echo request” to the target host. In turn, the target host replies with the “echo reply” packets. When pinging from one device to another on the network, ICMP and Address Resolution Protocol (ARP) are used. ARP resolves an IP address to its associated MAC addresses.
The tracert command is incorrect because this command is used by Microsoft Windows, not Cisco. It is not a valid utility to run via the Cisco IOS command-line interface. The tracert command is similar to the traceroute Cisco utility as the tracert command tests the connectivity or “reachability” of a network device or host. It reports back a reply at each hop, allowing one to determine where the communication link is “broken”.
The traceroute command is used to display the path that a packet follows to its destination. This command displays the IP address of each router in the path from the source to the destination address. Unlike the Microsoft tracert command, which uses the ICMP protocol, the Cisco traceroute command is based on User Datagram Protocol (UDP). The following code is the partial output of the traceroute command.

Type escape sequence to abort.
Tracing the route to
1 6 msec 6 msec 6 msec
2 30 msec 17 msec 14 msec
3 36 msec * 23 msec

Routing Fundamentals
Troubleshoot basic Layer 3 end-to-end connectivity issues
Cisco > Tech Notes > Using the Extended ping and Extended traceroute Commands > Document ID: 13730
Cisco > Tech Notes > Understanding the Ping and Traceroute Commands > The Traceroute Command > Document ID: 12778