SAProuter provides a number of optional functions. They consist of a letter, which is specified when SAProuter is called (syntax: UNIX/Windows: saprouter -<option>, Syntax IBM i: saprouter -'<option>') or is sent to a running SAProuter. The following describes how they are used and the default values.
There are administrative options (lowercase), additional options, and expert options (uppercase). The various options can be combined by specifying an administrative option and any number of other options.
Under IBM i options must be enclosed in inverted commas. For example, to stop the SAProuter, enter saprouter '-s'.
Administrative options, except for the startup function, are sent to a running SAProuter. It then executes the appropriate function.
SAProuter is started with function saprouter -r (IBM i:saprouter '-r')
The following list gives you an overview of the administrative options:
Option |
Meaning |
---|---|
Stop SAProuter |
|
Re-read in the route permission table |
|
Changing the trace level |
|
Terminate connection n |
|
Display route information |
|
Write detailed information from the internal buffers to the trace file |
|
Reset internal buffers |
|
Carry out soft shutdown |
For more information, see Starting SAProuter.
The additional options - with one exception - are indicated by uppercase letters. They can be combined with each other and with an administrative option, as long as this makes sense. Most additional options are used when the SAProuter is started. The ways in which the options can be combined are indicated in the sections in which they are described.
If an invalid combination of SAProuter options is specified, SAProuter behaves as if only saprouter was specified and displays the online help.
The additional options can also be omitted, as there are default values that are specified for each option.
The following options are available:
Option |
Meaning |
Default Value |
---|---|---|
File name and path of the route permission table |
./saprouttab (UNIX and IBM i) <lwk>:\usr\sap\saprouter\saprouttab (Windows) |
|
Use of SNC: SNC name of the host on which the SAProuter is running. |
- |
|
Name and path of the SAProuter log file |
No log file |
|
Size restriction for SAProuter log file |
No size restriction |
|
Name and path of the SAProuter trace file |
dev_rout in the directory of the SAProuter |
|
Trace level of the SAProuter |
1 |
|
Update trace and log files instead of overwriting them |
- (Trace and log files are overwritten when the SAProuter is restarted) |
|
Service (port) on which the SAProuter runs |
3299 |
|
Maximum number of client that the SAProuter administrates. Note: This value cannot exceed 2048 2 clients make a connection |
800 |
|
Deactivate DNS reverse lookup |
- |
|
Activate IPv6 support |
||
Suppress exact error message while opening connection |
||
Establish external connection, if there are several network cards. |
- |
|
n number of times an SAProuter automatically restarts if the client table is overfilled |
SAProuter is not automatically restarted (case n=1) |
|
Name of the host to which the SAProuter listens; password protection for route information (see Option -l / -L) |
- |
|
A port area for outgoing connection |
- |
SAProuter has some expert options, which are described below.
Caution
Use these options only after consulting SAP or if you are very experienced in this area.
The following expert options are available:
Command |
Function |
Default |
---|---|---|
-B <bufsize> |
Maximum queue length per client |
1 NI package |
-Q <queuesize> |
Maximum heap space for NI package |
20,000,000 bytes |
-W <waittimeL> |
Timeout for blocking network calls (if there is an error) |
5000 msec |
Call SAProuter with the desired functions using the following commands:
UNIX/Windows: saprouter [-<adm>] [-<opt>].
IBM i saprouter '[-<adm>] [-<opt>]'
Note
If an invalid combination of SAProuter options is specified, SAProuter behaves as if only saprouter was specified and displays the online help.