Chapter 5
62
<port> is the port name and must be specified if the machine is
a switch.
Example:
myswitch> ip ipatm pvc add atm 60 a3
myswitch> ip ipatm pvc add atm 61//50000 b1
myswitch> ip ipatm pvc add atm 62/192.168.4.32 b1
myswitch> ip ipatm pvc
ipatm pvc atm 60//60000 A3
ipatm pvc atm 61//50000 B1
ipatm pvc atm 62/192.168.4.32/60000 B1
5.4.7.7
ping
Syntax:
ping <IP address> [<ttl> [<size>]]
Description:
Sends an ICMP Echo message to the specified IP address.
<ttl> (default 30) is the TTL (time-to-live) to use. A crude
traceroute functionality can be obtained by repeating the ping
command with increasing TTL values, starting with 1.
<size> (default 56) is the data size of the Echo message. This
does not include the IP header (20 bytes) and the ICMP header
(8 bytes).
Example:
mymachine> ip ping 192.168.4.13 1
ip: ping - 192.168.1.9 reports pkt #5834 to 192.168.4.13: time-
to-liveexceeded
mymachine> ip ping 192.168.4.13 2
ip: ping - reply received from 192.168.4.13
mymachine> ip ping 192.168.77.77
ip: ping - no reply received