3Com 3C780 User Guide - Page 120

For example, if you type

Page 120 highlights

5-18 Using the Hub ping Command The ping command sends echo frames to a host and expects to receive a like number of echo frames in return. Use the ping command to find out whether or not a host on the network is operational. For example, type: ping 128.45.87.20 where 128.45.87.20 is the host address in Internet dot notation. The address can either be a specific station IP address or a broadcast address. If the host is operational, this reply is displayed: 128.45.87.20 is alive If the host is not operational, this reply is displayed: no answer from 128.45.87.20 You can specify two options with the ping command: s size This optional argument has a default value of 56 bytes and specifies the number of data bytes in the echo frames. s cnt This optional argument (count) has a default value of one (1) and specifies the number of echo frames to be sent. If you type the size option with the ping command, the echoing display includes the host address and the number of bytes in the frame, which should equal the size data bytes plus eight frame header bytes. For example, if you type this string, in which 64 is the size option variable: ping 128.45.87.10 64 this response is displayed: PING 128.45.87.10: 64 data bytes 128.45.87.10 is alive

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176

5-18
Using the Hub
ping
Command
The
ping
command sends echo frames to a host and expects to receive a like
number of echo frames in return.
Use the
ping
command to find out whether or
not a host on the network is operational.
For example, type:
ping 128.45.87.20
where
128.45.87.20 is the host address in Internet dot notation.
The address can
either be a specific station IP address or a broadcast address.
If the host is operational, this reply is displayed:
128.45.87.20 is alive
If the host is not operational, this reply is displayed:
no answer from 128.45.87.20
You can specify two options with the
ping
command:
size
This optional argument has a default value of 56 bytes
and specifies the number of data bytes in the echo frames.
cnt
This optional argument (count) has a default value of one (1)
and specifies the number of echo frames to be sent.
If you type the
size
option with the
ping
command, the echoing display includes
the host address and the number of bytes in the frame, which should equal the
size
data bytes plus eight frame header bytes.
For example, if you type this
string, in which 64 is the
size
option variable:
ping 128.45.87.10 64
this response is displayed:
PING 128.45.87.10: 64 data bytes
128.45.87.10 is alive