7-30
Command Sets for Command Line Interface
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
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
Summary of Contents for Bridge/ Heritage
Page 15: ...1 10 Introduction ...
Page 31: ...2 16 Installing and Configuring your xDSL Router ...
Page 43: ...3 12 Basic Configurations ...
Page 59: ...4 14 Advanced Configurations ...
Page 63: ...5 4 Managing the xDSL Router ...
Page 65: ...6 2 xDSL Link Performance Statistics ...
Page 123: ...7 58 Command Sets for Command Line Interface ...
Page 141: ...8 18 DHCP Server Operation ...
Page 149: ...9 8 DHCP Client Configuration ...