1-13
<device>
# After downloading the file, use the startup saved-configuration command to specify the
downloaded configuration file as the main configuration file for next startup, and then restart the device.
<device>startup saved-configuration config.cfg main
Please wait........................................Done!
For information about the startup saved-configuration command and how to specify the startup file
for the device, refer to the “System Maintenance and Debugging” module of this manual.
SFTP Configuration
Complete the following tasks to configure SFTP:
Task Remarks
Enabling an SFTP server Required
Configuring connection idle time Optional
SFTP Configuration: The Device
Operating as an SFTP Server
Supported SFTP client software —
Basic configurations on an SFTP client —
SFTP Configuration: The Device
Operating as an SFTP Client
Specifying the source interface or source
IP address for an SFTP client
Optional
SFTP Configuration: The Device 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… Use the command… Remarks
Enter system view
system-view
—
Enable an SFTP server
sftp server enable
Required
Disabled by default
Configuring connection idle time
After the idle time is configured, if the server does not receive service requests from a client within a
specified time period, it terminates the connection with the client, thus preventing a user from occupying
the connection for a long time without performing any operation.
Follow these steps to configure connection idle time: