ping clns
Syntax
ping clns host <brief> <count requests> <detail> <do-not-fragment> <interval seconds> <logical-system logical-system-name> <no-resolve> <pattern string> <rapid> <routing-instance routing-instance-name> <size bytes> <source source-address> <ttl value> <verbose> <wait seconds>
Description
Check the reachability of a remote Connectionless
Network Service (CLNS) node. Enter Ctrl+c to interrupt a ping clns
command.
Options
host | IP address or hostname of the remote system to ping. |
brief | (Optional) Display brief information. |
count requests | (Optional) Number of ping requests to send. The range of values is 1 through 2,000,000,000. The default is an unlimited number of requests. |
detail | (Optional) Include in the output the interface on which the ping reply was received. |
do-not-fragment | (Optional) Set the do-not-fragment (DF) bit in the IP header of the ping packets. |
interval seconds | (Optional) How often to send ping requests. The range of values, in seconds, is 1 through infinity. The default value is 1. |
logical-system logical-system-name | (Optional) Run the command from the specified logical system. |
no-resolve | (Optional) Do not attempt to determine the hostname that corresponds to the IP address. |
pattern string | (Optional) Specify a hexadecimal fill pattern to include in the ping packet. |
rapid | (Optional) Send ping requests rapidly. The results are reported in a single message, not in individual messages for each ping request. By default, five ping requests are sent before the results are reported. To change the number of request, include the count option. |
routing-instance routing-instance-name | (Optional) Name of the routing instance for the ping attempt. |
size bytes | (Optional) Size of ping request packets. The range of values, in bytes, is 0 through 65,468. The default value is 56, which is effectively 64 bytes because 8 bytes of ICMP header data are added to the packet. |
source source-address | (Optional) IP address of the outgoing interface. This address is sent in the IP source address field of the ping request. If this option is not specified, the default address is usually the loopback interface. |
ttl value | (Optional) Time-to-live (TTL) value to include in the ping request (IPv6). The range of values is 0 through 255. |
verbose | (Optional) Display detailed output. |
wait seconds | (Optional) Maximum wait time, in seconds, after the final packet is sent. If this option is not specified, the default delay is 10 seconds. If this option is used without the count option, a default count of 5 packets is used. |
Required Privilege Level
network
Output Fields
When you enter this command, you are provided
feedback on the status of your request. An exclamation point (!
) indicates that an echo reply was received. A period (.
) indicates that an echo reply was not received within the
timeout period. An x
indicates that an echo reply was received
with an error code. Packets with an error code are not counted in
the received packets count. They are accounted for separately.
Sample Output
ping clns
user@host> ping clns 47.0005.9000.f800.0000.0108.0001.1921.6812.4058.00 PING 47.0005.9000.f800.0000.0108.0001.1921.6812.4058.00 (47.0005.9000.f800.0000.0108.0001.1921.6812.4058.00): 55 data bytes 64 bytes from 47.0005.9000.f800.0000.0108.0001.1921.6812.4058.00: seq=0 ttl=30 time=15.051 ms 64 bytes from 47.0005.9000.f800.0000.0108.0001.1921.6812.4058.00: seq=1 ttl=30 time=10.370 ms 64 bytes from 47.0005.9000.f800.0000.0108.0001.1921.6812.4058.00: seq=2 ttl=30 time=10.367 ms --- ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 10.367/11.929/15.051/2.207 ms
Release Information
Command introduced before Junos OS Release 7.4.