XG Series User's Guide
Chapter 5 Command Reference
Other Commands
554
5.47 Other Commands
This section explains commands not previously covered.
5.47.1
Other Commands
This section explains other commands.
5.47.1.1 ping
Function
Sends ICMP echo request packets.
Available Model
XG0224 / XG0448 / XG0440DC / XG0440DCR / XG2600
Syntax
ping <ip_address> [source <ip_address>] [repeat [<count>]] [size <dec>] [tos <hex>] [ttl
<dec>] [timeout <dec>] [df]
ping <host_name> [{v4|v6}] [source <ip_address>] [repeat [<count>]] [size <dec>] [tos
<hex>] [ttl <dec>] [timeout <dec>] [df]
Options
<ip_address>
•
Target IP address
Specifies the target IPv4 or IPv6 address.
If specifying a link-local IPv6 address, append "%<interface>" to the address,
specifying which interface to use. For example: "fe80::1%lan0"
Either <ip_address> or <host_name> must be specified.
<host_name>
•
Target host name
Specifies the target host name.
If specifying a host name, the host name must be registered in the host database or the
switch must have access to a DNS server.
Either <ip_address> or <host_name> must be specified.
{v4|v6}
•
Specifies the IP version of the target host name.
When specifying the <host_name> parameter, this option specifies the version of the
IP address that the target <host_name> resolves to. Default is v4. If the version of the
resolved IP address does not match the specified version an error will occur.
source <ip_address>
•
Source IP address
Specifies the source IP address. Addresses not defined on the switch cannot be
specified.
If the version does not match with the target IP address an error will occur.
repeat [<count>]
•
Number of times to repeat
Specifies the number of times to repeat expressed as a base 10 value in the range of 0
to 65535. Default is 0.
size <dec>
•
Data size
Specifies the length (in bytes) of the ICMP data to send as a base 10 value in the range
of 46 to 9600.
Default is 46 bytes.