Editing Portserver Ii's Configuration From A Remote Host; Copying A Portserver Ii Configuration File To A Host - Digi PortServer II User Manual

Communication terminal server
Table of Contents

Advertisement

Editing PortServer II's Configuration from a
Remote Host
PortServer II includes a cpconf (copy configuration) command that allows you to
copy the PortServer configuration file to a specified host for editing. After editing,
you can write the modified configuration file back into PortServer II. You can also
copy the file into another PortServer II, allowing you to copy similar configurations
from one PortServer II to another. The host must be a TFTP server.
Note: The cpconf command includes an option (cpconf term) that allows you
to capture the configuration file to the terminal from which you issued the
command. You can then change the configuration file with a text editor before
reloading it by sending the file to PortServer II's command line. Because writ-
ing the entire configuration file back into PortServer II's Flash ROM is a rela-
tively slow process, we recommend that you use the single parameter set
commands (set user, set wan, set link etc.) described in previous
chapters to make configuration changes from a local terminal. If you use a
local terminal to edit the configuration file, ensure the flow control is set cor-
rectly between PortServer II and the terminal before you begin.
If you have several PortServer IIs to configure with similar configurations, you may
want to maintain a master configuration file on the host and create copy configuration
files that you can download into each PortServer II.
Similarly, if you have many users with similar profiles, you may want to consider
"cutting and pasting" the relevant lines from the master configuration file to the copy
files. You can then edit the copy before downloading it into PortServer II.

Copying a PortServer II configuration file to a host

To copy a configuration file to the host:
1. Create a file with appropriate write permissions on the host by entering a com-
mand similar to the following example at a UNIX server:
touch /tftpboot/psconfig; chmod 666 /tftpboot/psconfig
psconfig is the file name for the configuration file.
Note: It may not be necessary to create a file with write permissions on certain
servers; check your host documentation for further information.
Page 182
Remote Configuration
90030500B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents