Extended ping command

The Ping command in Cisco IOS (and other operating systems) is used to test the availability of devices on a TCP / IP network. Cisco devices also support the advanced ping command, which makes it possible to more closely examine the host's availability and network connectivity. With this command, you can define the source IP address as any IP address on the router, the number and size of the ping packets, different time intervals, and so on.


The expanded ping command is invoked from privileged exec mode by typing ping and pressing Enter. The following arguments can be changed:

Protocol [ip] - Enter the protocol, such as appletalk, clns, ip, short story, apollo, vines, decnet or xns. The default value is ip.
Destination IP Address - Enter the IP address or host name of the host to which ping is to be sent.
Repeat Numbers - Enter the number of ping packets sent to the destination address. 5 by default.

Datagram size - Enter the size of the ping package (in bytes). The default value is 100 bytes.
Timeout in seconds - Enter time intervals. The default value is 2 seconds. The echo response must be received before the time limit expires for ping to succeed.

Advanced Commands - Specify whether to display a series of additional commands. The default value is no. If you specify Yes, additional arguments are displayed.

Source address or interface: Enter the router's interface or IP address to use as source address for ping packets.

Type of service - Indicates the type of service (ToS). This is the quality choice for the internet service. The default value is 0.

Set DF bit in IP header? - Specify whether to set the Do not Fragment (DF) bit for the ping package. If specified, the No fragment option does not allow for fragmentation of the package. The default is no.

Confirm reply data? - Specify whether response data should be checked. The default is no.
Data Pattern - Enter the data pattern. Data patterns are used to fix framing errors and clock problems on serial lines. The default value is [0xABCD].
Loose, Strict, Record, Timestamp, Verbose - Enter the main IP options.

Sweep Size Range - Specify the size of the sent ping eco packages. This parameter is used to determine the minimum sizes of MTUs configured on the node along the way to the destination address. The default is no.
Post a Comment (0)
Previous Post Next Post

Advertisment