This document describes how you upload a configuration to or download a configuration from a LANCOM GS-23xx(P)-series switch using TFTP and/or SCP, and also how you upload a firmware file to the device using TFTP and/or SCP.
Make sure that the user account on the switch that you wish to use to perform the upload/download has the necessary user rights.
You can set user rights in the configuration
under
under System
->
→ Account
->
→ Privilege LEVEL
->
→ Maintenance. The value 15must be entered here.
Image Removed
Image Added
1) Upload/download using TFTP (unencrypted):
1.1) Open the switch configuration and navigate to the
menu
menu Security -> Access Management -> Auth Method.
1.2)
Set
Set Authentication Methodfor TFTPto the value localif you wish to perform TFTP access using a user account that exists on the switch. As an alternative, you can use RADIUS or TACACS+ authentication.
Note:
Info
The setting
none
none deactivates the possibility of access via TFTP.
Image Removed
Image Added
1.3) Open the command line and enter the following commands:
Downloading the switch configuration via TFTP, unencrypted:
tftp <IP address of the switch> GET <username>:<password>@readconfbinuser <path to storage location>
Example:
tftp
tftp 172.23.56.175 GET admin:admin@readconfbinuser C:\directory\configname.xml
Uploading the switch configuration via TFTP, unencrypted:
tftp <IP address of the switch> PUT <path to configuration file> <username>:<password>@writeconfbinus
Example:
tftp
tftp 172.23.56.175 PUT C:\directory\configname.xml admin:admin@writeconfbinus
Firmware upload via TFTP, unencrypted:
tftp -i <IP address of the switch> PUT <path to firmware file> <username>:<password>@WriteFlash
Example:tftp -i 172.23.56.175 PUT C:\directory\GS-2310P_v2.83.dat admin:admin@WriteFlash
2) Upload/download using SCP (encrypted):
2.1) Open the switch configuration and navigate to the
menu
menu Security
->
→ Access Management
->
→ Auth Method.
1
2.2) Set the Authentication Methodfor SSHto the value localif you wish to perform SSH access using a user account that exists on the switch. As an alternative, you can use RADIUS or TACACS+ authentication.
Note:
Info
The setting
none
none deactivates the possibility of access via SSH.
Image Removed
Image Added
1.3) Open the command line and enter the following commands:
Uploading the switch configuration via SCP:
scp <name of the configuration file> <username>@<IP address of the switch>:config
Downloading the switch configuration via SCP:
scp <username>@<IP address of the switch>:config <name of the configuration file>
Firmware upload via SCP:
scp <name of the firmware file> <username>@<IP address of the switch>:firmware
1.3.1) Examples using Cygwin:
Downloading the switch configuration via SCP, encrypted:
$ scp <username>@<IP address of the switch>:config 001-<name of the configuration file>