Configuring the ftp server, Configuring ftp server operating parameters – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 535

Advertising
background image

57-6

[ftp] bye

# You can use the boot-loader command to specify the downloaded file as the main startup file for next
startup. Then restart the device and the startup file of the device is updated.

<Sysname> boot-loader file bbb.bin main

<Sysname> reboot

Startup files for next startup must be saved under the root directory. You can copy or move a file to
change the path of it to the root directory. For description of the corresponding command, refer to the

System Maintaining and Debugging

in H3C WX6103 Access Controller Switch Interface Board

Configuration Guide.

Configuring the FTP Server

Configuring FTP Server Operating Parameters

The FTP server uses two modes to update files when you upload files (use the put command) to the
FTP server:

z

In fast mode, the FTP server starts writing data to the Flash after file transfer completes. This
protects the files intended to be overwritten on the device from being corrupted in the event that
anomalies, power failure for example, occur during a file transfer.

z

In normal mode, the FTP server writes data to the Flash during file transfer. This means that any
anomaly, power failure for example, during file transfer might result in file corruption on the router.
This mode, however, consumes less memory space than the fast mode.

Follow these steps to configure the FTP server:

To do…

Use the command…

Remarks

Enter system view

system-view

Enable the FTP server

ftp server enable

Required
Disabled by default.

Configure the
idle-timeout timer

ftp

timeout minutes

Optional
30 minutes by default.
In idle-timeout time, if there is no information
interaction between the FTP server and client, the
connection between them is terminated.

Set the file update mode
in FTP

ftp update

{ fast | normal }

Optional
Normal update is used by default.

Configuring Authentication and Authorization for Accessing FTP Server

To allow an FTP user to access certain directories on the FTP server, you need to create an account for
the user, authorizing access to the directories and associating the username and password with the
account.

Advertising