Netopia CLI 874 manual Example

Models: CLI 874

1 207
Download 207 pages 55.4 Kb
Page 116
Image 116

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 interface IP address ip-addrto use as the source IP address. If the ping goes out through an interface 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 abort 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 performed 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 aborted 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)

Page 116
Image 116
Netopia CLI 874 manual Example