Description: This document describes how you can upload a configuration file (*.lcf) to a LANCOM router over the Internet (WAN) by means of SCP without the use of LANconfig.
Note: - You can find instructions on how to upload firmware files and configurations to LANCOM GS-23XX series switches via TFTP/SCP in the following KnowledgeBase document
Requirements:Procedure: 1) Make sure that parameter
SSH is set to
allowed on the LANCOM router in the menu
Management -> Admin -> Access rights-> From remote networks....
Note: - In order to perform the upload you must
use a user account with administrative rights 2) Open the command line and enter the following commands:
- Uploading a configuration file via SCP:
scp <name of the configuration file> <username>@<IP address of the LANCOM router>:config - Uploading a configuration file via PLINK:
plink -ssh -batch <username>@<IP address of the LANCOM router> < <name of the configuration file>
1) Example using PSCP:- Uploading a configuration file via SCP, encrypted:
- pscp -scp <name of the configuration file> <username>@<IP address of the LANCOM router>:config
Example: - pscp -scp C:\Configs\config.lcf root@62.153.13.111:config
- After entering the above command you will be prompted to input a password as follows:
root@62.153.13.111's password: 2) Example using Cygwin:- Uploading a configuration file via SCP, encrypted:
- $ scp 001-<name of the configuration file> <username>@<IP address of the LANCOM router>:config
Example: - $ scp 001-config.lcf root@62.153.13.111:config
- After entering the above command you will be prompted to input a password as follows:
root@62.153.13.111's password: 3. Example using PLINK: - Uploading a configuration file via PLINK, encrypted:
- plink -ssh -batch <username>@<IP address of the LANCOM router>
<- <name of the configuration file>
Example: - plink -ssh -batch root@62.153.13.111
<- After entering the above command you will be prompted to input a password as follows:
root@62.153.13.111's password: