Re: copy location table?

Frank Heinzius (frimp@mms-gmbh.de)
Thu, 21 Sep 1995 09:39:39 +0000

On 20 Sep 95 at 10:15, Dick St.Peters wrote:

[...]

>
> Ok. I thought so. How do I transfer the configuration then?
>
> It sounds like we're back where this thread started. How can we
> transfer just the location table ... or the serial port configs, or
> the user table, or the filter table, or ... ?
>
> Just a way to dump the configuration in ascii, preferably as console
> commands, would do ... even just a way to post-process pmreadconf
> output ... but SOME way.

I think there are two possibilities:

(1) Livingston publishes the data format of the data file generated
by pmreadconf. With a Perl utilitiy the raw data will be converted
into COMOS console commands. If you want to reconfigure the
PortMaster, you feed this file or parts of it to pmcommand.

(2) A utility, probably written in Expect, telnets to the PM and
requests the configuration data. A second utility program converts
the data into console commands as described in (1).

I hardly remember someone already wrote a Perl utility like in (2).
Any ideas?

Frank.

--
***** The expressed opinions are totally mine! *****
Frank M. Heinzius           MMS Communication GmbH
frimp@mms-gmbh.de           Eiffestrasse 598
Phone: +49 40 211105-0      Fax: +49 40 210 32 210