Ping: The ping command is the most frequently used tool for troubleshooting the accessibility of network devices. It uses a series of Internet Control Message Protocol (ICMP) Echo messages to determine:
Whether a remote host is active or inactive.
The round-trip delay in communicating with the host.
The ping command first sends an echo request packet to the address given in the ping command, then waits for a reply. The ping is successful only if the destination is able to provide an "echo reply" back to the source within a predetermined time called a timeout. The default value of this timeout is two seconds on Cisco routers.
ping - sends an ICMP echo message.
The syntax for ping command is : "ping <destination_address>"
|!||Successful receipt of echo reply|
|?||Packet type unknown|
|&||Packet type unknown|
Traceroute: The traceroute command is used to discover the route that a packet takes when traveling to it's destination. When you issue the command on a device (for example, a router or a PC), it sends out a sequence of UDP datagrams to an invalid port address at the remote host.
Telnet:Telnet command works at Layer 7 of your TCP/IP stack. If you are able to Telnet to your remote router, you can be sure that the TCP/IP stack is properly installed. TCP/IP is the protocol used when you are Telnetting to a remote host. HTTP is used for accessing the World Wide Web services.
FTP: The File Transfer Protocol (FTP) is a standards based network protocol used to transfer computer files from one host to another host over a TCP/IP based network, such as the Internet. FTP is built on a client-server architecture uses port 21.
SNMP: Simple Network Management Protocol (SNMP) is an application-layer protocol for exchanging management information between network devices. It is a part of Transmission Control Protocol/Internet Protocol (TCP/IP) protocol suite.
UDP: UDP (User Datagram Protocol) is an alternative communications protocol to Transmission Control Protocol (TCP) used primarily for establishing low-latency and loss tolerating connections between applications on the Internet. Both UDP and TCP run on top of the Internet Protocol (IP) and are sometimes referred to as UDP/IP or TCP/IP
ICMP: Internet Control Message Protocol (ICMP) is an error reporting and diagnostic utility used by most network protocols including IOS routers and switches. It is also part of TCP/IP protocol suite of network protocols. ICMP (Internet Message Control Protocol) messages are used for basic error reporting between host to host, or host to gateway. It is not used for error reporting between Gateways. ICMP messages are encapsulated using the IP protocol. For example, the command "ping" uses ICMP protocol. In the OSI Reference model, ICMPs are generally considered part of the IP layer.