Automatically Starting the RouteD Server
The AUTOSTARTparameter of the CHGRTDA command affects the operation of
the STRTCP command. It has no effect on the STRTCPSVR command, which
ignores the AUTOSTARTparameter value. If you run the STRTCPSVR SERVER
(*ROUTED) command when the RouteD server is running, you receive a diagnostic
message.
Youcan use the STRTCPSVR command to restart the RouteD server when the
RouteD server is

not running

. However, the system ignores the restart instruction
and simply starts the server.
Ending the RouteD Server
Toend the RouteD server, specify the following
End TCP/IP Server
(ENDTCPSVR)
command with the server attribute set to *ROUTED:
ENDTCPSVR SERVER(*ROUTED)
Another way to end the RouteD server (and all other servers) is to specify the
ENDTCPSVR command without parameters. If you use the ENDTCPSVR command
to end a server that is not active, you receive a diagnostic message.
Configuring the RouteD Server
Use the
Configure TCP/IP RouteD
(CFGTCPRTD) command to configure the
RouteD server. The following are two differentways to get to this command prompt:
vSpecify the
Configure TCP/IP RouteD
command, CFGTCPRTD, from the command
line.
vSpecify the
Configure TCP/IP Applications
command, CFGTCPAPP, from the
command line. Select option 2(Configure RouteD).
After you specify the command, you see the following display:
The following two AS/400 commands control the RouteD server:
vThe

Change RouteD Attributes

(CHGRTDA) command allows an administrator to
set the configurable attributes for the RouteD server.
vThe
Work with RouteD Configuration
(WRKRTDCFG) command allows an
administrator to work with the RouteD configuration.
Configure TCP/IP RouteD
System: SYSNAM01
Select one of the following:
1. Change RouteD attributes
2. Work with RouteD configuration
Figure 236. Configure TCP/IPRouteD
392 OS/400 TCP/IPConfiguration and Reference V4R4