Ping

The ping command enables you to send ICMP echo messages to a remote IP device.

The ping command is available for both the user and administrator privilege levels.

ping {vr vr-name} {continuous|count|dont-fragment|interval|start-size|tos|ttl|udp} {mac|mpls|ipv4|ipv6} {from|with}

Table 1. Ping Command Parameters
Parameter Description
count Specifies the number of ping requests to send.
start-size Specifies the size, in bytes, of the packet to be sent, or the starting size if incremental packets are to be sent.
continuous Specifies that UDP or ICMP echo messages are to be sent continuously. This option can be interrupted by pressing [Ctrl] + C.
end-size Specifies an end size for packets to be sent.
udp Specifies that the ping request should use UDP instead of ICMP.
dont-fragment Sets the IP to not fragment the bit.
ttl Sets the TTL value.
tos Sets the TOS value.
interval Sets the time interval between sending out ping requests.
vrid Specifies the virtual router name to use for sending out the echo message. If not specified, VR-Default is used.
Note: User-created VRs are supported only on the platforms listed for this feature in the ExtremeXOS 30.6 Feature License Requirements document.
ipv4

Specifies IPv4 transport.

ipv6 Specifies IPv6 transport.
Note: If you are contacting an IPv6 link local address, you must specify the VLAN you are sending the message from: ping ipv6 link-local address %vlan_name host .
host Specifies a host name or IP address (either v4 or v6).
from Uses the specified source address. If not specified, the address of the transmitting interface is used.
with record-route Sets the traceroute information.

If a ping request fails, the switch stops sending the request after three attempts. Press [Ctrl] + [C] to interrupt a ping request earlier. The statistics are tabulated after the ping is interrupted or stops.

Use the ipv6 variable to ping an IPv6 host by generating an ICMPv6 echo request message and sending the message to the specified address. If you are contacting an IPv6 link local address, you must specify the VLAN that you are sending the message from, as shown in the following example (you must include the % sign):

ping ipv6 link-local address %vlan_name host