Editing The Configuration File - Digi PortServer II User Manual

Communication terminal server
Table of Contents

Advertisement

2. Copy the configuration file to the host by entering the following command at
PortServer II's command line:
cpconf tohost <host> <filename>
<host> may be the name or IP address of the host. <filename> is the name of
the file created in step 1 (psconfig in the example); you may or may not have
to enter the full path name, depending on your TFTP server.

Editing the configuration file

When the configuration file is installed on the host, open it with any text editor and
review the content. Each line of the file contains a set statement in the same format
as described in previous chapters, for example:
set line range=1-4 baud=2400 parity=e csize=7 stopb=1
set config ip=192.83.159.1 domain=digii.com
set port termtype=wy60 range=2-16
set line baud=38400 range=2-16
set flow ixon=on range=2-16
set flow ixoff=off range=1-16
The number of lines in the file and their content depends on the previous configuration
of the PortServer II. You can edit the file, according to the following guidelines:
• If you add a line to the file, ensure it is in the same format as other lines for the
same set command.
• Only delete a line from the file if you are sure the parameters it specifies are no
longer required.
• Only change parameters located between an "=" sign and the next space.
• Never delete a required parameter from a line. If you are unsure whether a
parameter is required or optional, refer to the Command Reference Guide.
• Begin comment lines with the "#" character. All such lines are ignored by the
PortServer II command line interpreter.
Important: If you edit a configuration file incorrectly and download the incorrect
file, PortServer II may not function correctly.
90030500B
Remote Configuration
Page 183

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents