beautypg.com

Relay – IBM ADSL Bridge/ Router Heritage User Manual

Page 95

background image

7-30

Command Sets for Command Line Interface

mapping exists.

” 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 | [] [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