beautypg.com

H3C Technologies H3C S7500E Series Switches User Manual

Page 108

background image

6-12

z

In normal mode, the FTP server writes data to the storage medium while receiving data. This

means that any anomaly, power failure for example, during file transfer might result in file

corruption on the FTP server. 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.

Use an ACL to control FTP clients’

access to the device

ftp server acl acl-number

Optional

By default, no ACL is used to control

FTP clients’ access to the device.

Configure the idle-timeout timer

ftp timeout minutes

Optional

30 minutes by default.

Within the 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 for the

FTP server

ftp update { fast | normal }

Optional

Normal update is used by default.

Quit to user view

quit

Manually release the FTP

connection established with the

specified username

free ftp user username

Optional

Available in user view

Configuring Authentication and Authorization on the 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.

The following configuration is used when the FTP server authenticates and authorizes a local FTP user.

If the FTP server needs to authenticate a remote FTP user, you need to configure authentication,

authorization and accounting (AAA) policy instead of the local user. For detailed configuration, refer to

AAA Configuration in the Security Configuration Guide.

In local authentication, the device checks the input username and password against those configured

on the device. In remote authentication, the device sends the input username and password to the