Command Manual – System Maintenance and DebuggingH3C S7500 Series Ethernet SwitchesChapter 2 Network Connectivity TestCommands2-1Chapter 2 Network Connectivity Test Commands2.1 Network Connectivity Test Commands2.1.1 pingSyntaxping [ -a ip-address | -c count | -d | -f | -h ttl | -i interface-type interface-number | -n | - ppattern | -q | -r | -s packetsize | -t timeout | -tos tos | -v | ip ]* host-ipping ipx ipx-address [ -c count | -s packetsize | -t timeout ]*ping clns nsap-addressViewAny viewParameters-a ip-address: Sets the source IP address to send the ICMP ECHO-REQUEST packets.-c count: Specifies how many times the ICMP ECHO-REQUEST packet will be sent.The count argument is the times, which ranges from 1 to 4,294,967,295 and defaults to5.-d: Sets the socket to DEBUGGING mode. By default, it is non-DEBUGGING mode.-f: Specifies to discard a packet directly instead of fragmenting it if its length is greaterthan the MTU (maximum transmission unit) of the interface.-h ttl: Sets the TTL (time to live) value of the echo request packets in the range of 1 to255. By default, the TTL value is 255.-i: Selects the specified interface to send the ICMP packets.interface-type: Interface type.interface-number: Interface number.-n: Specifies to regard the host-ip argument as an IP address without performingdomain name resolution. By default, the host-ip argument is first regarded as an IPaddress; if it is not an IP address, domain name resolution is performed.-p pattern: Specifies the padding byte pattern of the ICMP ECHO-REQUEST packets.The pattern argument is a byte in hexadecimal. For example, -p ff fills a packet with onlyff. By default, the system fills a packet with 0x01, 0x02, and so on, until 0x09; then itrepeats this procedure from 0x01 again.-q: Specifies to display only the statistics and not to display the details. By default, allthe information including the details and statistics will be displayed.