[ftp] get switch.bin
# Execute the quit command to terminate the FTP connection and return to user view.
[ftp] quit
<Sysname>
# After downloading the file, use the boot boot-loader command to specify the downloaded file
(switch.bin) to be the application for next startup, and then restart the switch. Thus the switch
application is upgraded.
<Sysname> boot boot-loader switch.bin
<Sysname> reboot
For information about the boot boot-loader command and how to specify the startup file for a switch,
refer to the System Maintenance and Debugging module of this manual.
SFTP Configuration
Complete the following tasks to configure SFTP:
SFTP Configuration: A Switch
Operating as an SFTP Server
SFTP Configuration: A Switch
Operating as an SFTP Client
SFTP Configuration: A Switch Operating as an SFTP Server
Enabling an SFTP server
Before enabling an SFTP server, you need to enable the SSH server function and specify the service
type of the SSH user as SFTP or all. For details, see the SSH server configuration part of SSH
Operation Manual of this manual.
Follow these steps to enable an SFTP server:
To do...
Enter system view
Enable an SFTP server
Task
Enabling an SFTP server
Configuring connection idle time
Supported SFTP client software
Basic configurations on an SFTP client
Specifying the source interface or
source IP address for an SFTP client
Use the command...
system-view
sftp server enable
1-14
Remarks
Required
Optional
—
—
Optional
Remarks
—
Required
Disabled by default.