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
DSL> ip portname read //isfs/services
DSL> ip portname list
router 520/UDP
snmp 161/UDP
tftp 69/UDP
telnet 23/TCP
someport 105/TCP
13.5.17. relay
Syntax:
relay
relay all | <i/f> [<i/f>] [forward]
Description:
Displays or sets what forwarding TCP/IP will do between interfaces. The combinations of setting forwarding can be a bit
confusing; they behave as follows:
Command: Enables forwarding:
relay all
from every interface to every non-loopback interface
relay if1
from if1 to every non-loopback interface, and from every interface to if1
relay if1 forward
from if1 to every non-loopback interface
relay if1 if2
from if1 to if2 and from if2 to if1
relay if1 if2 forward
from if1 to if2
(Don’t confuse the “forward” keyword, which indicates one-way relaying, with the term “forwarding”!)
To disable forwarding, use the “norelay” command.
Configuration saving saves this information. By default all forwarding is disabled.
Example:
DSL> ip relay
No relaying is being performed
DSL> ip relay ether vlane forward
relay ether vlane forward
DSL> ip relay ether forward
- 44 -
Comments to this Manuals