Ping, Ping -26 – Nortel Networks 6300 User Manual

Page 84

Advertising
background image

Remote Annex 6300 Hardware Installation Guide

Chapter 3

ROM Monitor Commands

3-26

ping

The ping command sends an Internet Control Message Protocol
(ICMP) mandatory ECHO_REQUEST datagram to elicit an ICMP
ECHO_RESPONSE from a host or gateway. ECHO_REQUEST
datagrams (pings) have an IP and ICMP header, followed by a
structured time value and an arbitrary number of pad bytes that fill
out the packet. The syntax for this command is:

ping

host_ip_address [data_size] [npackets]

❑

The host_ip_address entry is the Internet address of the host
or gateway from which you wish to elicit a response.

❑

The optional data_size entry is the number of bytes sent in a
datagram packet. The default value is 64 and the maximum
value is 1024.

❑

The optional npackets entry is the number of packets to
transmit. If you specify npackets, then you must also specify
a data_size.

The ping command display looks something like this:

If you enter the ping command without specifying an IP address, the
display looks like this:

To exit out of ping either wait for npackets to be transmitted or, at any
point, type q. The ping statistics display upon exit.

monitor:: ping 132.245.33.69

PING 132.245.33.69: 64 data bytes

monitor:: ping

IP address required, ie: ping 132.245.33.69\
[data bytes] [npackets]

Advertising