2-104 Command Line Interface Commands Reference
ping
[
ip
] {
ip-addr
|
hostname
} [
count
count
] [
timeout
milliseconds
] [
delay
milliseconds
] [
size
bytes
]
[
source
ip-addr
]
The
ping
command allows you to send ICMP echo requests to another network device. You can specify the
destination using either an IP address in dotted-quad notation or a hostname. The default
count
is 5, the
default
timeout
and
delay
are 1000 milliseconds (1 second) each, and the default
size
is 100 bytes. The
size
value you specify includes the size of the IP and ICMP packet headers. The minimum
size
value is 28 and the
maximum
size
value is 1664.
source
specifies which router inter face IP address
ip-addr
to use as the source IP
address. If the ping goes out through an inter face that has NAT (Network Address Translation) enabled, then
the source address will be translated.
For each timely ICMP echo response received, an exclamation point (“!”) is displayed; for each timeout, a
period (“.”) is displayed; and for each ICMP destination unreachable received, an uppercase letter U (“U”) is
displayed. When the ping operation completes, statistics are displayed including the total number of ICMP echo
requests sent and ICMP echo responses received, the success rate as a percentage, and the minimum,
average, and maximum round trip times.
To abor t a ping operation while it is in progress, type Control-C.
Example:
#ping www.netopia.com
Translating "www.netopia.com"... (163.176.4.31) [OK]
Type Control-C to abort.
Sending 5, 100-byte ICMP Echos to 163.176.4.32, timeout is 1 second:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/4/10 ms
#
ping oam interface sdsl
id
pvc
{
id
|
tag
|
vpi
/
vci
} [
count
count
] [
timeout
seconds
]
This command initiates a process by which up to
n
(
count
) OAM loopback tests are per formed at
n
(
seconds
)
delay between each.
For each individual OAM loopback test failure, a period ‘.’ will be output. For each individual OAM loopback test
success, an exclamation mark ‘!’ will be output. A running total of successes and failures will be maintained for
the duration of the test. The success-to-failure rate is output at the conclusion. If any OAM loopback test fails
for a reason other than a timeout, the command will be abor ted immediately.
Example:
ping oam interface sdsl 1 pvc count 17
Type Control-C to abort.
Performing 17 OAM loopback tests; timeout is 5 seconds.
.....
Success rate is 0 percent (0/17)
Содержание CLI 874
Страница 1: ...Command Line Interface Commands Reference Firmware Version 8 7 4 Motorola Netopia ENT Series Routers...
Страница 6: ...6 Command Line Interface Commands Reference...
Страница 12: ...1 6 Command Line Interface Commands Reference...
Страница 143: ...Motorola Netopia Router CLI Commands 2 131 Current Restrictions None...
Страница 144: ...2 132 Command Line Interface Commands Reference...