EasyManuals Logo
Home>Lantronix>Switch>SLC 8048

Lantronix SLC 8048 User Manual

Lantronix SLC 8048
425 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #295 background imageLoading...
Page #295 background image
13: Maintenance
SLC™ 8000 Advanced Console Manager User Guide 295
HTTPS Push Configuration Restore
The HTTPS Push Configuration feature allows a saved configuration to be pushed to a SLC via a
command line tool such as "curl" that includes the configuration to upload:
% curl --insecure --request POST --form "file=@/home/users/admin/
current-slccfg.tgz" ‘https://myslc.company.com/
cfgupdate.htm?login=sysadmin&password=PASS&config=all&comment=FirmwareUp
date’
The arguments that are passed with the URL are:
login - Login token to use for authentication. This must be a local user with firmware/config
and reboot/shutdown rights.
password - Clear text password for the login token.
config - Indicates the portion of the configuration to restore, either all, or any combination of
the following separated by commas: network, datetime, services, localusers, devports, usb,
rpms, remoteauth, connections, events, ipfilter, groups, hostlist, nfscifs, maintenance, sites,
scripts, slcnetwork, consoleport, menus, sshkeys, or sslcerts.
comment - optional comment to include in the system log and audit log. If spaces are included
in the comment they should be URL encoded as shown in this bash script:
#!/bin/bash
url="https://myslc.company.com/
cfgupdate.htm?login=sysadmin&password=PASS&config=all&comment=Update
myslc.company.com with default configuration"
curl --insecure --request POST --form "file=@/home/users/admin/current-
slccfg.tgz" "$( echo $url | sed 's/ /%20/g' )"
If an HTTPS Push Config command is accepted and initiated by the SLC, the SLC will respond
with "Configuration restore initiated; SLC will reboot.", the restore will be performed, a message
will be logged to the audit log and the system log, and the SLC will reboot. Any errors in the
process will result in an error message being displayed.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Lantronix SLC 8048 and is the answer not in the manual?

Lantronix SLC 8048 Specifications

General IconGeneral
BrandLantronix
ModelSLC 8048
CategorySwitch
LanguageEnglish

Related product manuals