Skip to content

System Configuration Files

The system configuration of an Lantronix Local Manager can be backed up to an external source using the config export command. Note that this feature differs from the config system export command, which exports device monitoring data.

Usage

The config export command uses FTP, SCP, or USB to export the Local Manager configuration as an XML file to a specified location. The XML file can be loaded back onto the Local Manager using the config import command. Use the show config command to view the data that will be exported.

[admin@LantronixLM]# config export ?
usage: export <method> <target>
methods: ftp, scp, usb

Export via FTP or SCP
ex. config export ftp <userId@host:fileName>
ex. config export scp <userId@host:fileName>
Export via USB
ex. config export usb <fileName>

Here's an example of a successful and failed configuration export.

[admin@LantronixLM]# config export scp admin@172.30.4.225:LantronixLM.xml
Password: *******
File successfully sent to 172.30.4.225.

[admin@LantronixLM]# config export scp admin@172.30.4.227:LantronixLM.xml
Password: *******
Failed to send '/storage/tmp/exportedConfig.xml' to '172.30.4.227' via scp.

To import a configuration file, use the config import command:

[admin@LantronixLM]# config import scp admin@172.30.4.227:Lantronix.xml
password: *******
160,771 bytes read (100%) done
Retrieved 'Lantronix.xml' from 172.30.4.227.
Removing users and groups from import xml.
Removing permissions from import xml.
Removing admin role from import xml; it is not editable.
Database closed
Currently cannot import option cards; ignoring them.
Importing virtual ports.

An XML file should only be loaded onto a Local Manager running the same software version or a higher software version as the Local Manager from which the file was exported.

[admin@LantronixLM]# show config
<?xml version="1.0" encoding="UTF-8"?>
<EnvoyConfiguration>
    <version>6.3</version>
    <roles>
        <role>
            <name>admin</name>
            <permissions>
                <permission>
                    <name>allow assimilate</name>
                </permission>
                <permission>
                    <name>allow autorecovery</name>
                </permission>
                <permission>
                    <name>allow capture</name>
                </permission>
                <permission>
                    <name>allow certify</name>
                </permission>
                <permission>
                    <name>allow clear counters</name>
                </permission>
                <permission>
                    <name>allow clear log</name>
                </permission>
                <permission>
                    <name>allow clear password</name>
                </permission>
                <permission>
                    <name>allow clear service-module</name>
                </permission>
                <permission>
                    <name>allow clear xbrowser</name>
                </permission>
                <permission>
                    <name>allow config aaa</name>
                </permission>