52
14. norelay
Syntax:
norelay [all | <i/f> [<i/f>] [forward]]
Description:
Turns off forwarding between interfaces; see the “
relay
” command for more details.
The command “
norelay
” with no parameters is equivalent to “
norelay all
”: it turns off all
forwarding.
Configuration saving saves this information.
Example:
DSL>
ip relay
relay ether ether
relay ether vlane
relay vlane vlane
DSL>
ip norelay ether vlane forward
relay ether ether
relay vlane ether forward
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 mapping exists.
“
<protocol>
” should be either “
UDP
” or “
TCP
”; it can be omitted, but that is not very useful. For
“
portname read
”, the file is in the same format as //isfs/services, which is the same as the output
from “
portname list
”. The “
portname
” command is “
hidden
”, not shown by “
ip help
”.
Configuration saving saves this information.
Example:
DSL>
ip portname flush
DSL>
ip portname add someport 105/tcp
DSL>
ip portname list
someport 105/TCP