○
○
○
○
○
A- Commonly Used Commands
A-6
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
A.1.6
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
(Dont 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:
ip relay all