Monitor And Debug Command List; Ping - Digitalchina Networks DCS-3950 series Manual

Table of Contents

Advertisement

5.2 Monitor and Debug Command List

When the users configures the switch, they will need to verify whether the
configurations are correct and the switch is operating as expected, and in network failure,
the users will also need to diagnostic the problem. DCS-3950 series switch provides
various debug commands including ping, telnet, show and debug, etc. to help the users to
check system configuration, operating status and locate problem causes.

5.2.1 Ping

Command:ping [<ip-addr>|<hostname>]
Function: the switch sends ICMP request packet to remote client device and checks the
communications between both sides is fine or not.
Parameter: <ip-addr>is destination host IP address, in dotted decimal notation.
<hostname> is destination host name,
string.Blank is not allowed,the length of character string is from 1 to 30.
Default: send 5 ICMP request packets; the packet size is 56 bytes; timeout is 2 seconds.
Command mode: Admin Mode
Usage Guide: Interactive configuration mode is provided if the ping command is entered
without any parameters. Ping parameters can be set this way.
Example
Ex.1: To use the default options of ping.
Switch#ping 10.1.128.160
Type ^c to abort.
Sending 5 56-byte ICMP Echos to 10.1.128.160, timeout is 2 seconds.
...!!
Success rate is 40 percent (2/5), round-trip min/avg/max = 0/0/0 ms
For the above example, ping will be send from the switch to some device with
10.1.128.160 as its ip address. For the first three ICMP echo packets, the switch considers
the other side to be unreachable because the corresponding ICMP reply packets can not
be retrieved with 2 seconds after the echo packets are sent out. For the following two echo
packets, reply is retrieved correctly, so the success rate is 40%. Here, failure is denoted as
'.', while success is denoted as '!'.
Ex.2: Launch the ping command with customized parameters.
Switch#ping
Target IP address:10.1.128.160
Repeat count [5]:100
Datagram size in byte [56]:1000
Timeout in milli-seconds [2000]:500
Extended commands [n]:n
Parameters
protocol [IP]:
DCS-3950 series Ethernet switch manual
number and letter constitute character
Notes
Protocol for the ping command.
45

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents