Herita
g
e Series ADSL Brid
g
e/ Router
7-29
Command Sets for Command Line Interface
relay vlane vlane
15. 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).
TCP/IP waits 10 seconds for a reply to the message; if none arrives, it
reports the lack of a reply. A reply is an ICMP Echo Reply message, or
an ICMP error message reporting destination unreachable, time
exceeded, or (as should never happen) a parameter problem. ICMP
redirect and source quench messages are reported, but TCP/IP
continues to wait for a final reply or time-out.
Example:
DSL> ip ping 192.168.4.13 1
ip: ping - 192.168.1.9 reports pkt #5834 to 192.168.4.13:
time-to-live
exceeded
DSL>
ip ping 192.168.4.13 2
ip: ping - reply received from 192.168.4.13
DSL>
ip ping 192.168.77.77
ip: ping - no reply received
16. portname
Syntax:
portname add <name> <number>[/<protocol>]
portname flush
portname list
portname read <file>
portname help [all|<cmd>]
Description:
Sets up a mapping between a UDP or TCP port and a symbolic name;
deletes all such mappings; lists the mappings; reads the mappings
from a file; or displays help on the “portname” command. The
symbolic names can be used as values of the attributes LPORT and
RPORT provided the protocol type (UDP or TCP) is appropriate.
They are also displayed in place of port numbers, when a suitable